Difference between revisions of "MediaWiki:Embed www.openstreetmap.org"
Line 2: | Line 2: | ||
<iframe width="{{{width|220}}}" height="{{{height|220}}}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.culture.si/static/embed-osm.html?lon={{{lon|14.49172}}}&lat={{{lat|46.04499}}}&zoom={{{zoom|14}}}&layer=mapnik" style="border: 1px solid black"></iframe> | <iframe width="{{{width|220}}}" height="{{{height|220}}}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.culture.si/static/embed-osm.html?lon={{{lon|14.49172}}}&lat={{{lat|46.04499}}}&zoom={{{zoom|14}}}&layer=mapnik" style="border: 1px solid black"></iframe> | ||
}} | }} | ||
+ | {{#set:lat={{{lat}}}}} | ||
+ | {{#set:lon={{{lon}}}}} | ||
<noinclude> | <noinclude> | ||
<p><a href="http://www.openstreetmap.org/?lat={{{lat}}}&lon={{{lon}}}&zoom={{{zoom|14}}}">Bigger map</a></p> | <p><a href="http://www.openstreetmap.org/?lat={{{lat}}}&lon={{{lon}}}&zoom={{{zoom|14}}}">Bigger map</a></p> |
Revision as of 17:49, 31 August 2011
"{{{lat}}}" is not a number. "{{{lon}}}" is not a number.
<a href="http://www.openstreetmap.org/?lat={{{lat}}}&lon={{{lon}}}&zoom=14">Bigger map</a>
LAT {{{lat}}} LON {{{lon}}} ZOOM {{{zoom}}}
path {{{path}}} fragment {{{fragment}}}