Click GEvent.addListener button with jquery
Created a google map with GMap2 and set point dots there that open the balloon with the address when clicking on the dot dot.
I would like users to be able to click on the text on the page itself and use jquery to open the corresponding balloon. However, I cannot figure out the ID that will be used to trigger the jquery click event. Basically I have a list of stores on the left side and when the user clicks on the store name I want it to open the corresponding balloon.
GEvent.addListener(marker_500, "click", function ()
{
map.openInfoWindowHtml(point, myHtml);
}
Any idea what element is associated with this click event?
Tried
...$ ("# marker_500") click the button ();
And it doesn't work. Also tried to notify $ (this) .attr ('id'); inside the click function and undefined. thanks jason
a source to share
Check it:
http://econym.org.uk/gmap/example_map15.htm
The above link will help you in your specific case. The link below is a comprehensive guide to google maps.
NTN
a source to share