[Google Maps API v3] Re: marker delete

2011-05-07 Thread sgiddings
Yes, you are right and wrong. The api uses canvas objects (if available) to render markers, unless you specifically tell it not to via the optimised option. As you are limited to using the marker creation interface, you do not directly create any DOM elements. This is all handled for you b

[Google Maps API v3] Re: marker delete

2011-05-07 Thread Amit Kumar
that is true, but the DOM that is linked with the marker? That is the Div etc, they wont be deleted by this. -- 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@googlegroup

[Google Maps API v3] Re: marker delete

2011-05-07 Thread sgiddings
The javascript object is deleted by the normal javascript garbage collection when there are no more references to it. Therefore - marker.setMap(null); marker = null; -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to t