Listener For Button In Google Maps Api Infowindow For Directions
i'm trying to build a WebApp using jQuery Mobile, the Google Maps API and the Geolocation Marker for Google Maps v3. I don't have much experience with js but i'm trying my best. I
Solution 1:
You need to listen for the domready
event of the infowindow. https://developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.domready
infoWindow = new google.maps.InfoWindow();
google.maps.event.addListener(infoWindow, 'domready', function() {
// Bind the click event on your button here
});
Hope this helps.
Post a Comment for "Listener For Button In Google Maps Api Infowindow For Directions"