interface MapEventMap {
    clippingPlanes-property-changed: {
        clippingPlanes: null | Plane[];
    };
    elevation-changed: {
        extent: Extent;
    };
    frozen-property-changed: {
        frozen: boolean;
    };
    layer-added: {
        layer: Layer<LayerEvents, LayerUserData>;
    };
    layer-order-changed: {};
    layer-removed: {
        layer: Layer<LayerEvents, LayerUserData>;
    };
    object-created: {
        obj: Object3D<Object3DEventMap>;
    };
    opacity-property-changed: {
        opacity: number;
    };
    renderOrder-property-changed: {
        renderOrder: number;
    };
    visible-property-changed: {
        visible: boolean;
    };
}

Hierarchy (view full)

Properties

clippingPlanes-property-changed: {
    clippingPlanes: null | Plane[];
}

Fired when the entity's clipping planes have changed.

Type declaration

  • clippingPlanes: null | Plane[]
elevation-changed: {
    extent: Extent;
}

Fires when elevation data has changed on a specific extent of the map.

Type declaration

frozen-property-changed: {
    frozen: boolean;
}

Type declaration

  • frozen: boolean
layer-added: {
    layer: Layer<LayerEvents, LayerUserData>;
}

Fires when a layer is added to the map.

Type declaration

layer-order-changed: {}

Fires when a the layer ordering changes.

Type declaration

    layer-removed: {
        layer: Layer<LayerEvents, LayerUserData>;
    }

    Fires when a layer is removed from the map.

    Type declaration

    object-created: {
        obj: Object3D<Object3DEventMap>;
    }

    Fired when the entity creates a new object

    Type declaration

    opacity-property-changed: {
        opacity: number;
    }

    Fired when the entity opacity changed.

    Type declaration

    • opacity: number
    renderOrder-property-changed: {
        renderOrder: number;
    }

    Fired when the entity render order changed.

    Type declaration

    • renderOrder: number
    visible-property-changed: {
        visible: boolean;
    }

    Fired when the entity visibility changed.

    Type declaration

    • visible: boolean