Changeset 7812 for trunk/src/map/inc
- Timestamp:
- Apr 17, 2010, 6:01:50 PM (15 years ago)
- Location:
- trunk/src/map/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/markerClusterer.js
r7797 r7812 690 690 }); 691 691 692 GEvent.addDomListener(div, " mouseout", function() {692 GEvent.addDomListener(div, "onmouseout", function() { 693 693 mouseOutCluster(markerArray); 694 694 }); -
trunk/src/map/inc/nodemapWL.js
r7811 r7812 226 226 function mouseOutCluster(markers) 227 227 { 228 229 //TODO DELETE ALL CIRCLES 230 231 /* 232 for (var i=0; i<markers.length; i++){233 234 map.removeOverlay(polygon[i]);235 236 }237 */238 239 228 removeAllPolygons(); 229 } 230 231 function removeAllPolgygons() 232 { 233 for(var i=0; i<polygons_on_map_array.length; i++) 234 { 235 var currentpolygon = polygons_on_map_array[i]; 236 map.removeOverlay(currentpolygon); 237 238 } 239 polygons_on_map_array.clear(); 240 240 } 241 241 … … 253 253 markerSelected.setImage("../img/sleutelGroen.png"); 254 254 255 for(var i=0; i<polygons_on_map_array.length; i++) 256 { 257 var currentpolygon = polygons_on_map_array[i]; 258 map.removeOverlay(currentpolygon); 259 260 } 261 polygons_on_map_array.clear(); 255 removeAllPolgygons(); 262 256 263 257 }
Note:
See TracChangeset
for help on using the changeset viewer.