Adding basic support for non-mouse devices

This commit is contained in:
ahocevar
2014-03-03 22:47:21 +01:00
committed by tsauerwein
parent f663a3d87a
commit be1318f133

View File

@@ -369,6 +369,7 @@ ol.interaction.Modify.prototype.createOrUpdateVertexFeature_ =
* @inheritDoc
*/
ol.interaction.Modify.prototype.handlePointerDown = function(evt) {
this.handlePointerAtPixel_(evt.pixel, evt.map);
this.dragSegments_ = [];
var vertexFeature = this.vertexFeature_;
if (!goog.isNull(vertexFeature)) {