Yes, I think the question is important because it's an issue of efficiency.
Don't think that some related element or a corresponding event listener is removed 'automatically' when the marker is removed from the map. Can definitely make sense to remove them separately and every time after they have been used and additionally to delete the marker object - especially when otherwise many ot them are existing in the 'background' memory. On Sep 16, 10:58 am, Gianpiero Venditti <gianpiero.vendi...@gmail.com> wrote: > Thanks for the quick answer, maybe i explained myself bad. > > What i would like to know is this: > > 1 - I create a visible marker with an infowindow that contains a div > 2 - I remove this marker from the map using marker.setMap(null) > > Do i have to take care of removing the infowindow element or the removal is > automatic when its correspondent marker is removed? -- 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.