interface TranslateOptions {
    features?: Collection<Feature>;
    style?: StyleLike;
}

Properties

Properties

features?: Collection<Feature>

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.

style?: StyleLike

Style for the center features added by the translate interaction to to show that features can be moved.