Difference between revisions of "Widget:OSM-Sudoroom-dev"

From Sudo Room
Jump to navigation Jump to search
(host javascript locally)
(fix script URL)
Line 3: Line 3:
</noinclude><includeonly>
</noinclude><includeonly>
   <div style="width:<!--{$w|escape:'html'|default:425}-->;height:<!--{$h|escape:'html'|default:350}-->;border:1px solid black;margin:0px;" id="mapdiv"></div>
   <div style="width:<!--{$w|escape:'html'|default:425}-->;height:<!--{$h|escape:'html'|default:350}-->;border:1px solid black;margin:0px;" id="mapdiv"></div>
   <script src="https://sudoroom.org/OpenLayers.js"></script>
   <script src="https://sudoroom.org/openlayers/OpenLayers.js"></script>
   <script>
   <script>
     map = new OpenLayers.Map("mapdiv");
     map = new OpenLayers.Map("mapdiv");

Revision as of 19:37, 3 March 2014

This is a homebrew attempt at making an OSM widget in mediawiki, fancier than the official extension will allow.