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
(→‎Example: corrections)
(update doc after template changes)
 
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 S (north or south)
*2 = Longitude (east / west)
*3 = Zoom level (14 is about right). Higher numbers for closer and lower numbers for further away.
*3 = Longitude
*4 = E or W (east or west)
*5 = Zoom level (14 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-->
Cookies help us deliver our services. By using our services, you agree to our use of cookies.