Difference between revisions of "MediaWiki:Embed www.openstreetmap.org"

From Culture.si
Line 1: Line 1:
<iframe width="{{{width|234}}}" height="{{{height|234}}}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.openstreetmap.org/export/embed.html?bbox=14.49172,46.04499,14.50453,46.05666&layer=mapnik" style="border: 1px solid black"></iframe><br />
+
{{#custom:raw|<div class="map" lat="{{{lat}}}" lon="{{{lon}}}" zoom="{{{zoom|16}}}">
 +
<a href="http://www.openstreetmap.org/?lat={{{lat}}}&lon={{{lon}}}&zoom={{{zoom|16}}}">Zemljevid</a>
 +
</div>
 +
 
 +
 
 +
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.openstreetmap.org/export/embed.html?bbox=14.49172,46.04499,14.50453,46.05666&layer=mapnik" style="border: 1px solid black"></iframe><br />
 
<small><a href="http://www.openstreetmap.org/?lat={{{lat}}}&lon={{{lon}}}&zoom={{{zoom|16}}}">Ve&#269;ji zemljevid</a></small>
 
<small><a href="http://www.openstreetmap.org/?lat={{{lat}}}&lon={{{lon}}}&zoom={{{zoom|16}}}">Ve&#269;ji zemljevid</a></small>
 
}}
 
}}

Revision as of 23:11, 21 February 2010



Večji zemljevid


LAT {{{lat}}} LON {{{lon}}} ZOOM {{{zoom}}}

path {{{path}}} fragment {{{fragment}}}