Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

fix .setMap(null) #81

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Commits on Jun 7, 2016

  1. fix .setMap(null)

    fix MarkerClusterer.setMap(null) - issue googlearchive#47
    
    1. added MarkerClusterer.onRemove()
    2. added MarkerClusterer.listeners to keep track of listeners on map
    3. moved listeners (de)registration into MarkerClusterer.setReady_()
    4. extend MarkerClusterer.setReady_() to cover following action on .setMap(null) call
        a. clear clutters[] 
        b. set all markers with null map
        c. remove event listeners on previous map
    jerrywang121 committed Jun 7, 2016
    Configuration menu
    Copy the full SHA
    b7be077 View commit details
    Browse the repository at this point in the history