User:Xavi/Templates/GeoXOGoogle
Jump to navigation
Jump to search
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
}}
|