On Oct 11, 2:39 pm, jd <[email protected]> wrote: > hey guys - having trouble clearing markers on map. select "add > markers" to add them to map. select "clear map" to remove them. > > getting an error when removing markers from map. > > .setMap is not a function.
It isn't (at least of the elements in your MyArray, they are the lines take out of the text box, and don't have a setMap method). I would suggest making an array containing the google.maps.markers objects that you want to call .setMap(null) on. -- Larry > > here's a link: > > http://www.water.ca.gov/waterdatalibrary/groundwater/projects/deer_cr... > > any help is appreciated!! -- 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.
