User:Xavi/Templates/GeoXOGoogle: Difference between revisions
Jump to navigation
Jump to search
m (testing geo mapping links) |
m (Walter's rectum 28/Templates/GeoXOGoogle moved to User:Xavi/Templates/GeoXOGoogle over redirect: revert) |
(One intermediate revision by one other user not shown) | |
(No difference)
|
Latest revision as of 15:30, 20 December 2009
Builds a link to a Google map for the given coordinates, optionally specifying how the link will display, and the zoom & type in the map. It defaults to the OLPC-HQ in Cambridge — google search.
Usage
{{User:Xavi/Templates/GeoXOGoogle | lat = 42.362603 <!-- Latitude — default: 42.362603 — negative = south --> | long = -71.085663 <!-- Longitude — default: -71.085663 — negative = west --> | zoom = 15 <!-- OPTIONAL — Zoom level [0-19] (15 by default - 19 is highest zoom) --> | type = h <!-- OPTIONAL — { h-ybrid | k-satellite } --> | display <!-- OPTIONAL — if no text is provided, displays the Lat & Long values --> }}
Samples
{{:User:Xavi/Templates/GeoXOGoogle => | lat = -34.291 | long = -56.389 | zoom = 10 | type = k | display = Cardal }} | |
{{:User:Xavi/Templates/GeoXOGoogle => | lat = -34.291 | long = -56.389 }} |