Author: kake Date: 2012-04-17 00:53:44 +0100 (Tue, 17 Apr 2012) New Revision: 1345
Modified: trunk/static/map-leaflet.js Log: Added address and node link to Leaflet map popups.
Modified: trunk/static/map-leaflet.js =================================================================== --- trunk/static/map-leaflet.js 2012-04-16 18:29:47 UTC (rev 1344) +++ trunk/static/map-leaflet.js 2012-04-16 23:53:44 UTC (rev 1345) @@ -41,7 +41,7 @@ marker = new L.Marker( position, { icon: new gicon() } ); map.addLayer( marker );
- content = node.name; + content = '<a href="?' + node.param + '">' + node.name + '</a><br />' + node.address; marker.bindPopup( content );
markers[ i ] = marker;
openguides-commits@lists.openguides.org