Name Type Default Description
Name Type Argument Description
Optional vector source where features will be added. If a source is provided all existing features will be removed and new features will be added when they are dropped on the target. If you want to add features to a vector source without removing the existing features (append only), instead of providing the source option listen for the "addfeatures" event.
Target projection. By default, the map's view's projection is used.
The element that is used as the drop target, default is the viewport element.