823
edits
(copy from Widget:OSM-Sudoroom) |
(restate purpose) |
||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
This is a homebrew attempt at making an OSM widget in mediawiki | This is a homebrew attempt at making an OSM widget in mediawiki, fancier than the official extension will allow. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<iframe width="<!--{$w|escape:'html'|default:425}-->" height="<!--{$h|escape:'html'|default:350}-->" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://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}-->&layer=mapnik&marker=<!--{$mklat|escape:'html'|default:37.810963}-->%2C<!--{$mklon|escape:'html'|default:-122.267652}-->" style="border: 1px solid black"></iframe> | <iframe width="<!--{$w|escape:'html'|default:425}-->" height="<!--{$h|escape:'html'|default:350}-->" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://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}-->&layer=mapnik&marker=<!--{$mklat|escape:'html'|default:37.810963}-->%2C<!--{$mklon|escape:'html'|default:-122.267652}-->" style="border: 1px solid black"></iframe> | ||
</includeonly> | </includeonly> |