How do I trigger the onclick event of a marker on a Google Maps from outside the map?
I use version 3 of the API. I\'ve seen many tutorials
For future Googlers, If you get an error similar below after you trigger click for a polygon
"Uncaught TypeError: Cannot read property 'vertex' of undefined"
then try the code below
google.maps.event.trigger(polygon, "click", {});