This is an old revision of the document!

A few google maps

The syntax for a google map is:

<googlemap type="map" lat="30.327092" lon="-81.650873" zoom="14" width="600px" height="400px">
30.327092,-81.650873,Sulzbacher Center

The values on the first line can be any of these:

  • width — 999[css length unit*] (e.g. 500px, 50%) width of the Google map, default is “400px”.
  • height — 999[css length unit*] (e.g. 500px, 30em) height of the Google map, default is “300px”.
  • type — values: map | satellite | hybrid. default map.
  • lat — values: -90.0 - 90.0; latitude of map centre, negative values are south.
  • lon — values: -180.0 - 180.0; longitude of map centre, negative values are west.
  • zoom — integer, zoom level, default value 8. Valid values depend on the map and location.
  • controls — values on | off. default on. Whether or not to show controls for zooming and panning on the map.
  • kml — values: off | [URL of kml file].

The data points in between the first and last line contain 3 pieces of data each:

  • latitude
  • longitude
  • description (can be long)

Here are a couple maps to illustrate the concept:

Episcopal Church of the Redeemer

<googlemap type=“map” lat=“30.238537” lon=“-81.552461” zoom=“14” width=“600px” height=“400px”> 30.238537,-81.552461,Episcopal Church of the Redeemer </googlemap>

I. M. Sulzbacher Center

<googlemap type=“map” lat=“30.327092” lon=“-81.650873” zoom=“14” width=“600px” height=“400px”> 30.327092,-81.650873,Sulzbacher Center </googlemap>

Camp Echockotee

<googlemap type=“map” lat=“30.153393” lon=“-81.727037” zoom=“14” width=“600px” height=“400px”> 30.153393,-81.727037,Camp Echockotee </googlemap>

/home/t27bsa/public_html/data/attic/resources/pwb3.1251852657.txt.gz · Last modified: 2009/09/01 20:50 by Charles Doak Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0