Adding basic support for mobile
Usability still needs improvement.
This commit is contained in:
1 parent
d6880039cc
commit
bc1489e8a0
1 file changed
+1
@@ -289,6 +289,7 @@ ol.interaction.Draw.prototype.handlePointerUp = function(event) {
|
||||
var squaredDistance = dx * dx + dy * dy;
|
||||
var pass = true;
|
||||
if (squaredDistance <= this.squaredClickTolerance_) {
|
||||
this.handlePointerMove_(event);
|
||||
if (goog.isNull(this.finishCoordinate_)) {
|
||||
this.startDrawing_(event);
|
||||
} else if (this.mode_ === ol.interaction.DrawMode.POINT ||
|
||||
|
||||
Reference in new issue
Block a user