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

Jump to navigation Jump to search
pass address & link
(oops, i zoomed in before - ACTUALLY zoom out)
(pass address & link)
Line 24: Line 24:
     map.setCenter (lonLat, zoom);
     map.setCenter (lonLat, zoom);


     map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",  
     map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",lonLat, null,
        lonLat, null,'<!--{$text|escape:'html'|default:markertext}-->', null,true
      '<!--{$text|escape:'html'|default:markertext}-->&nbsp;&nbsp;&nbsp;' +
      '<br /><br /><!--{$address|escape:'html'|default:markertext}-->' +
      '(<a href="<!--{$link|escape:'html'|default:markertext}-->">Directions</a>)', null,true
     ));
     ));
   </script>
   </script>
</includeonly>
</includeonly>

Navigation menu