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
@@ -71,6 +71,7 @@ ol.interaction.TouchZoom.prototype.handleTouchMove =
}
var map = mapBrowserEvent.map;
// FIXME works for View2D only
var view = map.getView().getView2D();
// scale anchor point.
@@ -95,6 +96,7 @@ ol.interaction.TouchZoom.prototype.handleTouchEnd =
function(mapBrowserEvent) {
if (this.targetTouches.length < 2) {
var map = mapBrowserEvent.map;
// FIXME works for View2D only
var view = map.getView().getView2D();
// Zoom to final resolution, with an animation, and provide a
// direction not to zoom out/in if user was pinching in/out.