Changeset 7801 for trunk/src/map/inc/nodemapWL.js
- Timestamp:
- Apr 17, 2010, 1:38:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/nodemapWL.js
r7800 r7801 16 16 if (GBrowserIsCompatible()) { 17 17 //Adding the google map into the div called #mapcanvas 18 map = new GMap2(document.getElementById("mapcanvas")); 18 map = new GMap2(document.getElementById("mapcanvas"), {googleBarOptions : {style : "new",}}); 19 map.enableGoogleBar(); 19 20 //Center the map on Leiden 20 map.setCenter(new GLatLng(52.162687, 4.493294), 11); 21 map.setCenter(new GLatLng(52.162687, 4.493294), 11); // Vars should go to config 21 22 map.setUIToDefault(); 22 23 … … 90 91 91 92 markerSelected = marker; 92 marker.setImage("../img/sleutelGroenSelected.png"); 93 loadXMLDoc("inc/node_info.php?type=single&name="+name+""); 93 marker.setImage("../img/sleutelGroenSelected.png");//Path should be in config 94 loadXMLDoc("inc/node_info.php?type=single&name="+name+""); //Should also be in config 94 95 95 96 /* … … 110 111 map.addOverlay(polygon); 111 112 112 loadXMLDoc("inc/node_info.php?type=single&name="+name+""); 113 loadXMLDoc("inc/node_info.php?type=single&name="+name+"");//Path should be in config 113 114 114 115 /* … … 306 307 } 307 308 308 309 310 311 309 function search() 310 { 311 312 } 313 314 315 316 317
Note:
See TracChangeset
for help on using the changeset viewer.