On Mar 21, 6:39 am, richard cranium <[email protected]>
wrote:
> I have a page with a circle, when clicked I zoom to centre and remove
> circle (to get rid of the shading)  Currently doing that by
> circle.setRadius(0); Is that the best way to do it or should I
> completely "kill" the circle somehow?  I guess a similar query might
> arise for other features.

The usual way is .setMap(null) [works with most v3 objects]

  -- Larry

-- 
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 [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-js-api-v3?hl=en.

Reply via email to