FilterFunction()interaction/Translate.js, line 37
Name Type Argument Default Description
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.
Array.<module:ol/layer/Layer~Layer> | function <optional>
A list of layers from which features should be translated. Alternatively, a filter function can be provided. The function will be called for each layer in the map and should return
truefor layers that you want to be translatable. If the option is absent, all visible layers will be considered translatable.
Hit-detection tolerance. Pixels inside the radius around the given position will be checked for features.