No olx and ol types for ol/interaction/Snap
This commit is contained in:
@@ -46,59 +46,6 @@ olx.interaction.TranslateOptions.prototype.layers;
|
||||
olx.interaction.TranslateOptions.prototype.hitTolerance;
|
||||
|
||||
|
||||
/**
|
||||
* Options for snap
|
||||
* @typedef {{
|
||||
* features: (ol.Collection.<module:ol/Feature~Feature>|undefined),
|
||||
* pixelTolerance: (number|undefined),
|
||||
* source: (ol.source.Vector|undefined),
|
||||
* edge: (boolean|undefined),
|
||||
* vertex: (boolean|undefined)
|
||||
* }}
|
||||
*/
|
||||
olx.interaction.SnapOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Snap to these features. Either this option or source should be provided.
|
||||
* @type {ol.Collection.<module:ol/Feature~Feature>|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.SnapOptions.prototype.features;
|
||||
|
||||
/**
|
||||
* Snap to edges. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.SnapOptions.prototype.edge;
|
||||
|
||||
|
||||
/**
|
||||
* Snap to vertices. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.SnapOptions.prototype.vertex;
|
||||
|
||||
|
||||
/**
|
||||
* Pixel tolerance for considering the pointer close enough to a segment or
|
||||
* vertex for snapping. Default is `10` pixels.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.SnapOptions.prototype.pixelTolerance;
|
||||
|
||||
|
||||
/**
|
||||
* Snap to features from this source. Either this option or features should be provided
|
||||
* @type {ol.source.Vector|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.interaction.SnapOptions.prototype.source;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{opacity: (number|undefined),
|
||||
* visible: (boolean|undefined),
|
||||
|
||||
@@ -14,17 +14,6 @@
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} interaction_SnapOptions
|
||||
* @property {ol.Collection.<module:ol/Feature~Feature>|undefined} features Snap to these features. Either this option or source should be provided.
|
||||
* @property {boolean|undefined} edge Snap to edges. Default is `true`.
|
||||
* @property {boolean|undefined} vertex Snap to vertices. Default is `true`.
|
||||
* @property {number|undefined} pixelTolerance Pixel tolerance for considering the pointer close enough to a segment or
|
||||
* vertex for snapping. Default is `10` pixels.
|
||||
* @property {ol.source.Vector|undefined} source Snap to features from this source. Either this option or features should be provided
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} layer_BaseOptions
|
||||
* @property {number|undefined} opacity Opacity (0, 1). Default is `1`.
|
||||
|
||||
Reference in New Issue
Block a user