Template:Osm: Difference between revisions

Template page
Content added Content deleted
(template created)
 
(slightly different link)
Line 1: Line 1:
[https://www.openstreetmap.org/search?query={{{1}}}%2C{{{3}}}#map={{{5}}}/{{{1}}}/{{{2}}} Latitude: {{{1}}}°{{{2}}} / Longitude: {{{3}}}°{{{4}}}]<noinclude>
[https://www.openstreetmap.org/?mlat={{{1}}}&mlon={{{3}}}&zoom={{{5}}}#map={{{5}}}/{{{1}}}/{{{3}}} Latitude: {{{1}}}°{{{2}}} / Longitude: {{{3}}}°{{{4}}}]<noinclude>
{{doc|{{osm/doc}}}}</noinclude>
{{doc|{{osm/doc}}}}</noinclude>

Revision as of 00:36, 2 April 2020

Latitude: {{{1}}}°{{{2}}} / Longitude: {{{3}}}°{{{4}}}

Template documentation
This is a documentation subpage for Template:Osm.
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.

Example

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

  • 1 = Latitude (north / south)
  • 2 = Longitude (east / west)
  • 3 = Zoom level (14 is about right). Higher numbers for closer and lower numbers for further away.


Example: {{osm|50.0505|2.6856|14}} which renders as Latitude: 50.0505°2.6856 / Longitude: 14°{{{4}}}

The above documentation is transcluded from Template:Osm/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.