NextGIS Frontend
    Preparing search index...

    Interface LayerDefinition<F, L>

    interface LayerDefinition<F extends Feature = Feature, L = any> {
        feature: F;
        getBounds: () => LngLatBoundsArray;
        getCenter: () => LngLatArray;
        layer?: L;
        target: LayerAdapter;
        visible?: boolean;
    }

    Type Parameters

    • F extends Feature = Feature
    • L = any

    Hierarchy (View Summary)

    Index

    Properties

    feature: F

    A vector layer object in geojson format.

    getBounds: () => LngLatBoundsArray

    Get the extent for the geometry on which the action was executed.

    getCenter: () => LngLatArray

    Get the center for the geometry on which the action was executed.

    layer?: L

    Native layer for a specific adapter layers of a specific map adapter.

    target: LayerAdapter

    The adapter in which the layer is created.

    visible?: boolean

    Is layer on the map