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

From Sudo Room
Jump to navigation Jump to search
(try adding popup)
(fix use of lonlat variable)
Line 25: Line 25:


     map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",  
     map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",  
         LonLat(), null,'<!--{$text|escape:'html'|default:markertext}-->', null,true
         lonLat, null,'<!--{$text|escape:'html'|default:markertext}-->', null,true
     ));
     ));
   </script>
   </script>
</includeonly>
</includeonly>

Revision as of 20:44, 3 March 2014

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