You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
I have tried to understand the documentation, but I still cannot figure out how to open a certain marker's infoWindow on load. Who can help me, or point me to a step for step tutorial (which I still haven't found after one hour of smashing my head against the wall).
The text was updated successfully, but these errors were encountered:
Finally wrapped my head around it with the help of an experienced js programmer, Chrome's console and this comment: #40 (comment)
The markers are in an array: map.markers. So if you want to trigger a click on a marker you need to know the position of the marker in the array. Then you can do google.maps.event.trigger(map.markers[your-position-number-here],'click');
I have tried to understand the documentation, but I still cannot figure out how to open a certain marker's infoWindow on load. Who can help me, or point me to a step for step tutorial (which I still haven't found after one hour of smashing my head against the wall).
The text was updated successfully, but these errors were encountered: