I have been reading and looking thru examples about hiding/removing markers from a map. Most of them you click on map to add marker then click on the button hide to hide/remove. Is there an example somewhere that shows markers with setMarkers and then a button to remove markers. Have gone thru examples about directions, adding markers,etc and can get markers to show at locations,and get directions to locations, now just tring to learn how to remove markers when click on get directions button. Like when map is loaded 4 markers are shown, when click get directions button the 4 markers are removed/hid. I see everyone says use setMap=(null) just not sure where to put it in the code.No link to a map just experimenting with things before I build a finished project.
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 google-maps-js-api...@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.