Adding basic support for non-mouse devices
This commit is contained in:
@@ -369,6 +369,7 @@ ol.interaction.Modify.prototype.createOrUpdateVertexFeature_ =
|
|||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
ol.interaction.Modify.prototype.handlePointerDown = function(evt) {
|
ol.interaction.Modify.prototype.handlePointerDown = function(evt) {
|
||||||
|
this.handlePointerAtPixel_(evt.pixel, evt.map);
|
||||||
this.dragSegments_ = [];
|
this.dragSegments_ = [];
|
||||||
var vertexFeature = this.vertexFeature_;
|
var vertexFeature = this.vertexFeature_;
|
||||||
if (!goog.isNull(vertexFeature)) {
|
if (!goog.isNull(vertexFeature)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user