Changeset 7833 for trunk/src/map
- Timestamp:
- Apr 18, 2010, 8:54:47 PM (15 years ago)
- Location:
- trunk/src/map/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/markerClusterer.js
r7824 r7833 688 688 689 689 GEvent.addDomListener(div, "click", function() { 690 clickCluster(markerArray); 690 691 692 highlightCurrentMarker(latlng); 693 clickCluster(markerArray, latLng); 691 694 }); 692 695 693 696 GEvent.addDomListener(div, "mouseout", function() { 694 697 mouseOutCluster(markerArray); 698 695 699 }); 696 700 this.div_ = div; -
trunk/src/map/inc/nodemapWL.js
r7832 r7833 84 84 }); 85 85 GEvent.addListener(marker, 'click', function() { 86 currentMarker = marker;87 highlightCurrentMarker();88 86 mouseClickNode(current.id, current.name[0], marker); 89 87 }); -
trunk/src/map/inc/overlay.js
r7832 r7833 22 22 23 23 24 function highlightCurrentMarker( ){25 var markerPoint = currentMarker.getPoint();24 function highlightCurrentMarker(markerPoint){ 25 //var markerPoint = currentMarker.getPoint(); 26 26 27 27 var polyPoints = Array(); … … 50 50 } 51 51 // Using GPolygon(points, strokeColor?, strokeWeight?, strokeOpacity?, fillColor?, fillOpacity?) 52 highlightCircle = new GPolygon(polyPoints,"#000000",2,0.0,"# F7FE2E",.5);52 highlightCircle = new GPolygon(polyPoints,"#000000",2,0.0,"#DF0101",.5); 53 53 map.addOverlay(highlightCircle); 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.