Trigger marker from link in page HTML
-
I have a kmz file loaded with a bunch of markers and all is looking good. I’d like to have a list of links in my HTML trigger their respective marker bubbles when clicked.
I found this code, whereindex
is the number of the marker. I assumegoogle
here refers to the javascript map object.google.maps.event.trigger(markers[index], 'click');
Thank you.
- The topic ‘Trigger marker from link in page HTML’ is closed to new replies.