Template:Osm2

Revision as of 17:23, 24 December 2022 by Borderman (talk | contribs) (template created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Latitude: {{{1}}}
Longitude: {{{2}}}

Template documentation
This is a documentation subpage for Template:Osm2.
It contains usage information, categories and other content that is not part of the original template page.


Usage

This links directly to the Open Street Map service. All that is required are decimal figures for Latitude N/W and Longitude S/E.

This should be used in Template:Place infobox for the coordinates parameter.

Example

The order of the parameters are as follows: {{osm|1=|2=|3=}}

  • 1 = Latitude (north / south)
  • 2 = Longitude (east / west)
  • 3 = Zoom level (10 to 14 is about right depending on how close it needs to be). Higher numbers for closer and lower numbers for further away.


Example: {{osm2|50.0505|2.6856|14}} which renders as:

Latitude: 50.0505
Longitude: 2.6856

The above documentation is transcluded from Template:Osm2/doc.