Template:BrowseMapWithMarker/doc

From OpenStreetMap Wiki
Jump to: navigation, search

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}} gets you

[//www.openstreetmap.org/?mlat=49.5013947&mlon=6.5454511#map=15/49.5013947/6.5454511 {{#if: | {{{text}}} | Browse map of Saarschleife 49°30′05″ N, 6°32′44″ E]

  • {{BrowseMapWithMarker|lat=49.5013947|lon=6.5454511|zoom=15|text=This is the Saarschleife.}}, you'll get

[//www.openstreetmap.org/?mlat=49.5013947&mlon=6.5454511#map=15/49.5013947/6.5454511 {{#if: This is the Saarschleife. | This is the Saarschleife. | 49°30′05″ N, 6°32′44″ E]

See also