Add modify feature interaction and its example

This commit is contained in:
oterral
2013-11-26 17:17:19 +01:00
committed by Antoine Abt
parent 5227d01572
commit 3155d681be
5 changed files with 889 additions and 0 deletions

View File

@@ -434,6 +434,14 @@
* @todo stability experimental
*/
/**
* @typedef {Object} ol.interaction.ModifyOptions
* @property {undefined|Array.<ol.layer.Layer>|function(ol.layer.Layer):boolean} layers
* Layers or filter function to restrict modification to a subset of layers.
* @property {number|undefined} pixelTolerance Pixel tolerance for considering
* the pointer close enough to a vertex for editing. Default is 20 pixels.
*/
/**
* @typedef {Object} olx.interaction.TouchRotateOptions
* @property {number|undefined} threshold Minimal angle in radians to start a rotation.