Template:Indoor=/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template provides a link to a specific place in indoor=. Use it by adding {{[[Template:|]]}} to the page, with the parameters described below.

Usage

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

https://indoorequal.org/#map=zoom level/latitude/longitude&level=level

For example, the URL

https://indoorequal.org/#level=1&map=18/42.80033/-1.63679

would have the parameters

{{indoor=|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.