API (v2.0.0) - Giro3D
    Preparing search index...

    Variable openLayersUtils

    openLayersUtils: {
        fromOLColor: (
            input: Color | ColorLike,
        ) => { color: Color; opacity: number };
        fromOLExtent: (
            extent: Extent,
            coordinateSystem: CoordinateSystem,
        ) => Extent;
        getFeatureExtent: (
            feature: Feature,
            crs: CoordinateSystem,
        ) => Extent | undefined;
        toOLExtent: (extent: Extent, margin?: number) => Extent;
    }

    Type Declaration

    • fromOLColor: (input: Color | ColorLike) => { color: Color; opacity: number }
    • fromOLExtent: (extent: Extent, coordinateSystem: CoordinateSystem) => Extent
    • getFeatureExtent: (feature: Feature, crs: CoordinateSystem) => Extent | undefined
    • toOLExtent: (extent: Extent, margin?: number) => Extent