Template:BrowseMapWithMarker
Jump to navigation
Jump to search
This documentation is transcluded from Template:BrowseMapWithMarker/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
{{BrowseMapWithMarker|lat=X|lon=Y|zoom=Z|layers=...|text=XY|name=NN}}
layers
is optional.
text
has a higher priority; if not given,name
is used.
Examples:
{{BrowseMapWithMarker|lat=49.5013947|lon=6.5454511|zoom=15|name=Saarschleife}}
{{BrowseMapWithMarker|lat=49.5013947|lon=6.5454511|zoom=15|text=This is the Saarschleife.}}
TemplateData
This is the TemplateData for this template used by VisualEditor.
TemplateData for BrowseMapWithMarker
TemplateData for BrowseMapWithMarker
Displays a link to OSM map at a specified position with marker icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
lattitude | lat | lattitude of the marker and center of the map
| Number | required |
longitude | lon | longitude of the marker and center of the map
| Number | required |
zoom | zoom | Zoom setting of the map view
| Number | suggested |
tile layer (map style) | layers | For optional selection of an alternative tile layer (C=CycleMap/H=Humanitarian/O=ÖPNVKarte/T=TransportMap/Y=CyclOSM)
| Line | suggested |
text | text | For a free text that will be shown as link.
| Line | optional |
name | name | Name of the linked target on the map that is shown behind the default link text ''Browse map of''.
| Line | suggested |
Translation
The default words that are put in front of name ( "Browse map of" ) are taken from Template:PlaceLang.
There is an automatic translation into the page's language if the translation exists in Template:PlaceLang.
See also
- Template:BrowseMap - which is not related to an object and doesn't show a marker
- Template:BrowseObject - which shows an arbitrary object.
- Template:BrowseObjectWithMarker - shows an arbitrary object and a marker.
- Template:BrowseObjectWithPosition - shows an arbitrary object at the specified position.