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

host javascript locally
(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");