Your tiesmap.js code does this:
Array.prototype.clean = function(deleteValue) {
for (var i = 0; i < this.length; i++) {
if (this[i] == deleteValue) {
this.splice(i, 1);
i--;
}
}
return this;
};
When you read through your array with
for (var id in allmarkers) {
it finds the "clean" function as well as the markers.
allmarkers["clean"] has no .hide() method, because it isn't a marker.
As far as I can see, you never use Array.clean(), so a simple solution
would be to remove that code from tiesmap.js.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---