Template:Osm/doc: Difference between revisions

update doc after template changes
(doc page created)
 
(update doc after template changes)
 
(2 intermediate revisions by the same user not shown)
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.
==Example==
ExampleThe order of the parameters are as follows: <code><nowiki>{{osm|50.0505|N1=|2.6856|E=|143=}}</nowiki></code> which renders as {{osm|50.0505|N|2.6856|E|14}}
*1 = Latitude (north / south)
*2 = Longitude (east / west)
*143 is= theZoom defaultlevel number(14 foris theabout zoomright). level – higherHigher numbers for closer and lower numbernumbers for further away.
 
 
*The first number is for latitude, the second is for longitude
Example: <code><nowiki>{{osm|50.0505|2.6856|14}}</nowiki></code> which renders as {{osm|50.0505|2.6856|14}}
*N/W = North and West (which only go with Latitude), S/E = South and East (which only go with Longitude)
*14 is the default number for the zoom level – higher numbers for closer and lower number for further away
 
<!--Template categories here-->