Hi, I'm looking for some advice on how to do something specific using Google Maps.
Basically I want to display just 1 primary map on a web page with a static custom Marker icon placemark always showing on NY. I then want to have a bunch of links on the page, where depending on whichever one is clicked each would add any number of a group of additional custom placemark marker icons along with the constantly displayed NY one and remove any added markers from previously clicked links. So for example - My map loads showing the NY placemark custom icon marker, then the user clicks on one of the links and different custom icon markers for California and France placemarks are added to the NY one. (California -Red Icon / France -Green Icon) Then if the user clicks on another link, the previously added custom placemark icon markers for (CA -Red Icon & FR -Green Icon ) are removed ( * but The NY marker always remains) and then new ones for Chicago and Japan are now added to NY. (Chicago- Blue Icon / Japan - Green Icon) and so on and so on etc. I'd like to be able to do this perhaps ideally with a javascript function that would accept simple short arguments specifying which custom marker icon for each placemark and the abbreviated name of each marker , something like - onClick functionname(Red-Icon,CA,Blue- Icon,FR,Green-Icon,JP) with the idea that I hopefully would'nt have to hardcode each OnClick function link on the page. -- 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.
