Hey Guys,

I'm using MarkerClusterer and I'm tyring to remove a single marker
from the map. I've been looking at their API guide but it's given me
this error:

clusters_[i].remove is not a function
[Break on this error] if (clusters_[i].remove(marker)) {

Here is how I am adding the marker:

var markers = [];
var u_marker = new LabeledMarker(u_latlng, u_opts);
markers.push(u_marker);
var markerCluster = new MarkerClusterer(map, markers);

Here is how I am removing it:

markerCluster.removeMarker(u_marker);

Any ideas on why this isn't working?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to