fix deprecation warning

This commit is contained in:
Jakob Ketterl 2022-06-18 20:42:11 +02:00
parent 26440d4e24
commit 6f0a209a38
1 changed files with 1 additions and 1 deletions

View File

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