Make View2D-only comments more consistent

This commit is contained in:
Tom Payne
2013-06-25 17:10:45 +02:00
parent d96ea1cb97
commit a4e8e529c4
4 changed files with 7 additions and 2 deletions
@@ -96,6 +96,7 @@ ol.interaction.DragRotateAndZoom.prototype.handleDrag =
ol.interaction.DragRotateAndZoom.prototype.handleDragEnd =
function(mapBrowserEvent) {
var map = mapBrowserEvent.map;
// FIXME works for View2D only
var view = map.getView().getView2D();
var direction = this.lastScaleDelta_ - 1;
map.withFrozenRendering(function() {