add code comments to click and mousewheel handlers

This commit is contained in:
Éric Lemoine
2012-07-12 08:14:21 +02:00
parent d517bdc5cd
commit 8801542744
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -76,5 +76,6 @@ ol.handler.MouseWheel.prototype.defaultBehavior = function(e) {
map.setZoom(map.getZoom() - step, e.position);
// We don't want the page to scroll.
// (MouseWheelEvent is a BrowserEvent)
e.preventDefault();
};