public void setMarkers ( List < GenericMarker > m ) { this . markers = m ; for ( GenericMarker marker : m ) { marker . setMap ( this ) ; } //setup any clustering options clusterMarkers ( ) ; }
Set markers would be a better description of this method behaviour effectively replaces the references to all markers