Changeset 7797 for trunk/src/map/inc


Ignore:
Timestamp:
Apr 16, 2010, 10:49:30 PM (15 years ago)
Author:
ddboer
Message:

Added clusterMouseOut
Put te nodes on the same layer as the markers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/inc/markerClusterer.js

    r7787 r7797  
    670670      'font-family:Arial,sans-serif;font-weight:bold';
    671671  div.innerHTML = this.text_;
    672   map.getPane(G_MAP_MAP_PANE).appendChild(div);
     672  map.getPane(G_MAP_MARKER_PANE).appendChild(div);
    673673  var padding = this.padding_;
    674674  GEvent.addDomListener(div, "doubleclick", function () {
     
    689689          clickCluster(markerArray);
    690690      });
     691 
     692  GEvent.addDomListener(div, "mouseout", function() {
     693          mouseOutCluster(markerArray);
     694      });
    691695  this.div_ = div;
    692696};
Note: See TracChangeset for help on using the changeset viewer.