Google Maps Custom Overlay Click Event : Adding Data To The Map Google Maps Api Succinctly Ebook Syncfusion : Const chicago = { lat:
Google Maps Custom Overlay Click Event : Adding Data To The Map Google Maps Api Succinctly Ebook Syncfusion : Const chicago = { lat: . Google.maps.event.adddomlistener(overlay, 'click', function (event) { alert(overlay); I want it to respond to google maps click events (not just dom click events) but simply using addlistener doesn't seem to do the trick. /** * the centercontrol adds a control to the map that recenters the map on * chicago. Initialize google map with the instructions of google maps official documentation page and use customoverlay function to display custom overlays. I have a custom overlay class (imageoverlay) which inherits from google.maps.overlayview. Create your click events in google tag manager. Overlays are objects on the map that are bound to latitude/longitude coordinates. Finally the google map is displayed using the html div element. Your map overlay starts its life as a really big image (a jpeg or png), which you then 'sli