>     batch.push(id);
> /* this line giving error undefined, trying to remove marker which
> goes out of screen
>     if ( bounds.containsLatLng(marker[id].getLatLng())) {

Is there supposed to be some relationship between the batch[] array
and the marker[] array?  You don't seem to have defined one.

Elsewhere, you are using marker as a plain non-array GMarker object,
so if you had defined marker[] anywhere that would probably destroy it
anyway.

cheers, Ross K

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