Template:OpenLevelUp

From OpenStreetMap Wiki
Jump to: navigation, search


[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

This template provides a link to a specific place in OpenLevelUp. Use it by adding {{OpenLevelUp}} to the page, with the parameters described below.


Usage

You can obtain the required parameters from any OpenLevelUp URL. They are structured in the following way:

https://openlevelup.net/?l=level#zoom level/latitude/longitude

For example, the URL

https://openlevelup.net/?l=1#18/42.80033/-1.63679

would have the parameters

{{OpenLevelUp|zoom=18|lat=42.80033|lon=-1.63679|level=1}}

Parameters

lat

The latitude coordinate of the place you want to link to.

lon

The longitude coordinate of the place you want to link to.

zoom

The zoom level the linked map should have when opened.

level

The building level that should be displayed.

s

TODO: Document this parameter