Add ol.interaction.DragAndDrop
This commit is contained in:
@@ -274,6 +274,19 @@
|
||||
* @todo stability experimental
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} olx.interaction.DragAndDropOptions
|
||||
* @property {boolean|undefined} fitView Fit view. Default is `true`.
|
||||
* @property {Array.<function(new: ol.format.Format)>|undefined}
|
||||
* formatConstructors Format constructors.
|
||||
* @property {ol.source.Vector|undefined} source Source. If this is defined
|
||||
* then features will be added to this source.
|
||||
* @property {ol.layer.Vector|undefined} layer Layer. If this is defined then
|
||||
* features will be added to this layer's source. If neither `source` nor
|
||||
* `layer` are defined then the dropped features will be added as a new
|
||||
* layer.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} olx.interaction.DragPanOptions
|
||||
* @property {ol.Kinetic|undefined} kinetic Kinetic inertia to apply to the pan.
|
||||
|
||||
Reference in New Issue
Block a user