fix deprecation warning
This commit is contained in:
parent
26440d4e24
commit
6f0a209a38
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user