Template:GeoPolygon
Appearance
From Wikimedia Commons, the free media repository
Geocoded outline | Google Maps OpenStreetMap no polygon data. Check GeoPolygon for instructions. |
---|
This documentation is transcluded from Template:GeoPolygon/doc.
Provide infobox with a link to outline of the object in Google Maps or OpenStreetMap.
The template automatically sets the following categories: Media with geocoded areas
Usage
{{GeoPolygon |poly= |OSM= |title= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
poly | Polygon coordinates in lat1,lon1,height1 lat2,lon2,height2 lat3,lon3,height3 format. For example: 51.2121,9.2131,0 52.332,9.323,0 | empty | optional | |
OSM | Link to OpenStreetMap objects. For example 58975404 will lead to www.openstreetmap.org/?way=58975404 | empty | optional | |
title | Name to display | empty | optional | |
type | OSM links point to "way" objects by default but could also point to "relation" or "node" | way | optional |
Additional information
The template is intended to be used in the following namespaces: all content namespaces
The template is intended to be used by the following user groups: all users
Example
Geocoded outline | Google Maps OpenStreetMap Cemetery Père-Lachaise 48.862597,2.38781,0 48.863021,2.389612,0 48.863416,2.389441,0 48.864969,2.395492,0 48.8624,2.398496,0 48.860282,2.40047,0 48.859859,2.400341,0 48.859209,2.399054,0 48.858496,2.398217,0 48.858391,2.397466,0 48.858348,2.396758,0 48.858136,2.396393,0 48.857649,2.396425,0 48.857713,2.396189,0 48.857769,2.395878,0 48.857543,2.394762,0 48.857868,2.394397,0 48.858306,2.393239,0 48.859054,2.392209,0 48.858814,2.391372,0 48.858842,2.391222,0 48.859859,2.390857,0 48.859661,2.389398,0 48.862597,2.38781,0 |
---|