Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Osm/doc: Difference between revisions

Template page
Content added Content deleted
(reworded)
(update doc after template changes)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
This links directly to the [https://www.openstreetmap.org Open Street Map] service. All that is required are decimal figures for Latitude N/W and Longitude S/E.
This links directly to the [https://www.openstreetmap.org Open Street Map] service. All that is required are decimal figures for Latitude N/W and Longitude S/E.
==Example==
==Example==
The order of the parameters are as follows: <code><nowiki>{{osm|1=|2=|3=|4=|5=}}</nowiki></code>
The order of the parameters are as follows: <code><nowiki>{{osm|1=|2=|3=}}</nowiki></code>
*1 = Latitude
*1 = Latitude (north / south)
*2 = N or W (north and west only go with latitude)
*2 = Longitude (east / west)
*3 = Zoom level (14 is about right). Higher numbers for closer and lower numbers for further away.
*3 = Longitude
*4 = S or E (south and east only go with longitude)
*5 = Zoom level (14/15 is about right). Higher numbers for closer and lower numbers for further away.




Example: <code><nowiki>{{osm|50.0505|N|2.6856|E|14}}</nowiki></code> which renders as {{osm|50.0505|N|2.6856|E|14}}
Example: <code><nowiki>{{osm|50.0505|2.6856|14}}</nowiki></code> which renders as {{osm|50.0505|2.6856|14}}


<!--Template categories here-->
<!--Template categories here-->

Latest revision as of 09:50, 4 April 2020

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 / Longitude: 2.6856


Cookies help us deliver our services. By using our services, you agree to our use of cookies.