On 2/23/2011 8:40 PM, Esa wrote:
I don't think that this loop will scan:
for (var i; i< markers[clearthis].length; i++) {
markers[clearthis][i].setMap(null);
}
You have to set a numeric value for i
You have setMap(null); also in showOverlays();
The second one was easier to find.
That was it. Thank you for your help!
--
You received this message because you are subscribed to the Google Groups "Google
Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.