Difference between revisions of "Widget:OSM-Sudoroom-dev"
Jump to navigation
Jump to search
(pass address & link) |
(2 lines of text plus horizontal line) |
||
Line 25: | Line 25: | ||
map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",lonLat, null, | map.addPopup(new OpenLayers.Popup.FramedCloud("Popup",lonLat, null, | ||
'<!--{$ | '<!--{$text1|escape:'html'|default:markertext}--> <br /><br />' + | ||
'<br />< | '<!--{$text2|escape:'html'|default:markertext}-->' + | ||
'<br /><hr /><!--{$address|escape:'html'|default:markertext}--> ' + | |||
'(<a href="<!--{$link|escape:'html'|default:markertext}-->">Directions</a>)', null,true | '(<a href="<!--{$link|escape:'html'|default:markertext}-->">Directions</a>)', null,true | ||
)); | )); | ||
</script> | </script> | ||
</includeonly> | </includeonly> |
Revision as of 21:15, 3 March 2014
This is a homebrew attempt at making an OSM widget in mediawiki, fancier than the official extension will allow.