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

From Sudo Room
Jump to navigation Jump to search
(zoom out)
(try adding popup)
Line 23: Line 23:
   
   
     map.setCenter (lonLat, zoom);
     map.setCenter (lonLat, zoom);
    map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",
        LonLat(), null,'<!--{$text|escape:'html'|default:markertext}-->', null,true
    ));
   </script>
   </script>
</includeonly>
</includeonly>

Revision as of 20:42, 3 March 2014

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