Can't recreate the described error, but ...
Everytime you do a search, your initialize() function adds duplicate
controls to the map.
Everytime you do a search, your initialize() function adds another
moveend listener to the map.
There's a common slipup in your moveData()
if(bound.containsLatLng(new
GLatLng(locations[i].getAttribute("lat"),locations[i].getAttribute("lng"))))
GLatLng expects numbers, getAttribute returns a string - use
parseFloat to convert to numbers
Same applies in addmarkers() at
var marker = new PdMarker(new
GLatLng(locations[i].getAttribute("lat"),...
--
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.