Make ol.interaction.DragAndDrop fire an event instead of managing layers and sources
This commit is contained in:
@@ -282,17 +282,10 @@
|
||||
|
||||
/**
|
||||
* @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.
|
||||
* @property {ol.feature.StyleFunction|undefined} styleFunction Style function.
|
||||
* This is used to configure any new layers created.
|
||||
* @property {ol.proj.ProjectionLike} reprojectTo Target projection. By
|
||||
* default, the map's view's projection is used.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user