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

From Sudo Room
Jump to navigation Jump to search
(try copying https://wiki.openstreetmap.org/wiki/OpenLayers_Marker)
(host javascript locally)
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="http://www.openlayers.org/api/OpenLayers.js"></script>
   <script src="https://sudoroom.org/OpenLayers.js"></script>
   <script>
   <script>
     map = new OpenLayers.Map("mapdiv");
     map = new OpenLayers.Map("mapdiv");

Revision as of 19:28, 3 March 2014

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