hi ross, i dont understand how to define relation between batch[] and marker[] you can see code by viewsource http://www.spotonsearch.co.uk/auto/xx/index.html
On Jun 16, 3:57 pm, Rossko <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
