hi guys... i want to remove multiple circles on my map but so far i have no success with it :/
circle.setMap(null) works well with just one circle this: if(circle != null){ for (var i in circle) { circle[i].setMap(null) } } throughs an exception: Uncaught TypeError: Object #<an Object> has no method 'setMap' i looked up google now for quite some time... :/ the circles are created as this: circle = new google.maps.Circle({map: map,radius: 30}); circle.bindTo('center', marker, 'position'); any suggestions? thx! -- 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.