My guess is that u r working on firefox or chrome, if u r working on
IE it will pop up an error on
"markerManager.removeMarker(markerArray[markerArrayId]); "

The error is:
"Microsoft JScript runtime error: Object doesn't support this property
or method"

i am having the same problem i want to delete markers from my marker
manager and still cant find a way
Please help..
Cheers


On Jan 28, 1:55 am, trj <[email protected]> wrote:
> I have been scratching my head on this one for a couple of hours.
>
> I have this little piece of code:
>
> alert(markerManager.getMarkerCount(1)); //executes perfectly and
> displays 14
>
> Then at the next line the entire thing just stops executing for some
> reason.
> markerManager.removeMarker(markerArray[markerArrayId]);
> alert(markerManager.getMarkerCount(1));
>
> Now i know that marker in the array is in fact a marker because i have
> tried printing out the lat and lng.
>
> Any suggestions as to why my script freezes and never executes the
> second alert()?

--~--~---------~--~----~------------~-------~--~----~
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