Prevent default in double click zoom (refs #70)

This commit is contained in:
Tom Payne
2012-10-24 11:35:10 +02:00
parent 0ae3f8806e
commit 92b13b36d9

View File

@@ -37,5 +37,6 @@ ol.interaction.DblClickZoom.prototype.handleMapBrowserEvent =
-this.delta_ : this.delta_;
map.zoom(delta, anchor);
mapBrowserEvent.preventDefault();
browserEvent.preventDefault();
}
};