Reset position on touch end

This commit is contained in:
Frederic Junod
2013-02-25 16:01:22 +01:00
parent c0aa50abfc
commit 585c397a0f

View File

@@ -87,6 +87,7 @@ ol.interaction.TouchPan.prototype.handleTouchEnd =
}
return false;
} else {
this.lastCentroid = null;
return true;
}
};