Make modify interaction use FeaturesOverlay

Instead of a whole map.
This commit is contained in:
Antoine Abt
2014-01-23 10:36:09 +01:00
parent 3155d681be
commit a1d20182fe
6 changed files with 153 additions and 165 deletions

View File

@@ -435,9 +435,9 @@
*/
/**
* @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.
* @typedef {Object} olx.interaction.ModifyOptions
* @property {ol.feature.StyleFunction|undefined} styleFunction
* the styleFunction for the feature
* @property {number|undefined} pixelTolerance Pixel tolerance for considering
* the pointer close enough to a vertex for editing. Default is 20 pixels.
*/