Trace:
Differences
This shows you the differences between the selected revision and the current version of the page.
wiki:plugin_help 2008/05/13 10:21 | wiki:plugin_help 2008/09/16 15:00 current | ||
---|---|---|---|
Line 394: | Line 394: | ||
{{tag>folded tag plugin}} | {{tag>folded tag plugin}} | ||
+ | |||
+ | |||
+ | ===== Google Maps ===== | ||
+ | |||
+ | **Google Maps Syntax** | ||
+ | |||
+ | <googlemap parameter="value" parameter="value"> | ||
+ | lat,lon,text | ||
+ | lat,lon,text | ||
+ | </googlemap> | ||
+ | |||
+ | The lines of "lat,lon,text" represent the individual overlay markers. Each marker must have its own line and be the only information on that line. "lat" and "lon" are the latitude and longtitude of the marker. "text" is the text to be displayed in the popup when the marker is clicked. The text can include wiki markup. | ||
+ | |||
+ | |||
+ | **Google Maps Parameters** | ||
+ | |||
+ | * width --- //999px// (e.g. 500px) width of the google map, default is 400px. | ||
+ | * height --- //999px// (e.g. 500px) 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; longtitude 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. | ||
+ | |||
+ | The parameters can be in any order. | ||
+ | |||
+ | |||
+ | **Google Maps Example** | ||
+ | <code> | ||
+ | <googlemap width="400px" height="400px" zoom="15" controls="on" lat="43.261956181120176" lon="-79.91974353790283"> | ||
+ | 43.261956181120176,-79.91974353790283,McMaster University | ||
+ | </googlemap> | ||
+ | </code> | ||
+ | <googlemap width="400px" height="400px" zoom="15" controls="on" lat="43.261956181120176" lon="-79.91974353790283"> | ||
+ | 43.261956181120176,-79.91974353790283,McMaster University | ||
+ | </googlemap> | ||
+ | |||
You are here: start » wiki » plugin_help