Hey, You need to call setMap(null) on the marker to remove it from a map, ie: marker.setMap(null);
Hope this helps - Luke On Mon, Dec 6, 2010 at 12:34 PM, Blanaru Irina <[email protected]>wrote: > Hey everybody, > > How can I remove a marker from the map? > Thank you!! > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- 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.
