Update src/ol/interaction/Translate.js

Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
This commit is contained in:
mike-000
2021-05-10 19:53:30 +01:00
committed by GitHub
parent c0dd40cdb7
commit 666c996f8e

View File

@@ -47,7 +47,7 @@ const TranslateEventType = {
* @property {import("../events/condition.js").Condition} [condition] A function that * @property {import("../events/condition.js").Condition} [condition] A function that
* takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a * takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
* boolean to indicate whether that event should be handled. * boolean to indicate whether that event should be handled.
* Default is {@link module:ol/events/condition~always}. * Default is {@link module:ol/events/condition.always}.
* @property {Collection<import("../Feature.js").default>} [features] Only features contained in this collection will be able to be translated. If * @property {Collection<import("../Feature.js").default>} [features] Only features contained in this collection will be able to be translated. If
* not specified, all features on the map will be able to be translated. * not specified, all features on the map will be able to be translated.
* @property {Array<import("../layer/Layer.js").default>|function(import("../layer/Layer.js").default): boolean} [layers] A list of layers from which features should be * @property {Array<import("../layer/Layer.js").default>|function(import("../layer/Layer.js").default): boolean} [layers] A list of layers from which features should be