Changeset 7825 for trunk/src/map/inc
- Timestamp:
- Apr 18, 2010, 11:38:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/nodemapWL.js
r7824 r7825 3 3 4 4 var map; 5 var markerArray = new Array(); 6 var circleArray = new Array(); 5 var markerArray = []; 6 var circleArray = []; 7 var polygons_on_map_array = []; 7 8 var xmlhttp; 8 9 var targetDiv = "infotop"; … … 10 11 var overNode; 11 12 var markerSelected = ""; 12 var polygons_on_map_array = new Array(); 13 13 14 14 15 … … 18 19 if (GBrowserIsCompatible()) { 19 20 //Adding the google map into the div called #mapcanvas 20 map = new GMap2(document.getElementById("mapcanvas"), {googleBarOptions : {style : "new" ,}});21 map = new GMap2(document.getElementById("mapcanvas"), {googleBarOptions : {style : "new"}}); 21 22 //Center the map on Leiden 22 23 map.setCenter(new GLatLng(52.162687, 4.493294), 11); // Vars should go to config … … 238 239 function mapZoomed() 239 240 { 240 markerSelected.setImage("../img/sleutelGroenSelected.png"); 241 if(!markerSelected == "") 242 { 243 markerSelected.setImage("../img/sleutelGroenSelected.png"); 244 } 241 245 } 242 246
Note:
See TracChangeset
for help on using the changeset viewer.