Difference between revisions of "Widget:OSM-Sudoroom"

From Sudo Room
Jump to navigation Jump to search
(try OSM embed with marker)
 
(try OSM embed with marker)
Line 2: Line 2:
 
This is a homebrew attempt at making an OSM widget in mediawiki ... WITH a marker! (the extension doesn't do markers)
 
This is a homebrew attempt at making an OSM widget in mediawiki ... WITH a marker! (the extension doesn't do markers)
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.openstreetmap.org/export/embed.html?bbox=<!--{$swlon|escape:'html'|default:-122.269}-->%2C<!--{$swlat|escape:'html'|default:37.81}-->%2C<!--{$nelon|escape:'html'|default:-122.2666}-->%2C<!--{$nelat|escape:'html'|default:37.812}-->&amp;layer=mapnik&amp;marker=<!--{$mklat|escape:'html'|default: 37.810963}-->%2C<!--{$mklon|escape:'html'|default:-122.267652}-->" style="border: 1px solid black"></iframe>
+
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.openstreetmap.org/export/embed.html?bbox=<!--{$swlon|escape:'html'|default:-122.269}-->%2C<!--{$swlat|escape:'html'|default:37.81}-->%2C<!--{$nelon|escape:'html'|default:-122.2666}-->%2C<!--{$nelat|escape:'html'|default:37.812}-->&amp;layer=mapnik&amp;marker=<!--{$mklat|escape:'html'|default:37.810963}-->%2C<!--{$mklon|escape:'html'|default:-122.267652}-->" style="border: 1px solid black"></iframe>
 
</includeonly>
 
</includeonly>

Revision as of 22:47, 2 January 2014

This is a homebrew attempt at making an OSM widget in mediawiki ... WITH a marker! (the extension doesn't do markers)