fix deprecation warning

This commit is contained in:
Jakob Ketterl 2022-06-18 20:42:11 +02:00
parent 26440d4e24
commit 6f0a209a38

View File

@ -70,7 +70,7 @@ AprsMarker.prototype.onAdd = function() {
div.appendChild(overlay); div.appendChild(overlay);
var self = this; var self = this;
google.maps.event.addDomListener(div, "click", function(event) { div.addEventListener("click", function(event) {
event.stopPropagation(); event.stopPropagation();
google.maps.event.trigger(self, "click", event); google.maps.event.trigger(self, "click", event);
}); });