Googlemaps Parameters

  • 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 parameters can be in any order.

(*) For width and height any valid CSS length unit can be used. The common ones are px and em, plus % for widths. In general don't use percents for height as in most cases the value is likely to be undefined. For more details refer to the CSS Specification.

wiki/googlemaps.txt · Zuletzt geändert: 2009/01/31 11:29 (Externe Bearbeitung)
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki