Currently, I am utilizing angular map and have bound an ng-click event to it which triggers a dialog window to open. However, I am facing an issue where I want to disable ng-click for markers and infowindows. This problem did not arise when I was using plain JS for Google Maps and drawing markers in the controller, but it has surfaced now that I am drawing markers in HTML.
I attempted to disable it in the following way:
<div class="map-container" ng-click="clickMarker || getCoords();showDialog($event)">
<marker ng-disabled="clickMarker"></marker>
</div>
Unfortunately, this approach did not work. I am aware that it is possible to use event.stopPropagation, but I have been unable to identify the specific event that triggers infowindow popup. Is there a different method to achieve this?