Create Link To Open Info Window
-
Is there a way to add a link to the listing template (using the
wpsl_listing_template
filter) that will open the map marker Info Window on click of the link? I know there is an option to open the info window when a user hovers over the listing but that isn’t great for mobile users. I want an actual link that the user can click on to open the map marker Info Window.I know something like
google.maps.event.trigger(markers[id], 'click');
should work on click of a link but I don’t know how to access the array of Markers created in the Google Maps JS initialization code.Is there any way to create a link in the listing template that will open the marker Info Window on click?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Create Link To Open Info Window’ is closed to new replies.