Type Parameters

Constructors

Methods

  • Parameters

    • resolutions: number[]
    • projUnit: Units = 'm'

    Returns number[]

  • Parameters

    • layer: S
    • Optionalprojection: ProjectionLike

    Returns Promise<
        | undefined
        | ImageLayer<ImageWMS>
        | TileLayer<TileWMS>
        | TileLayer<WMTS>
        | VectorLayer<VectorSource<Feature<Geometry>>, Feature<Geometry>>
        | TileLayer<XYZ>,
    >

  • Parameters

    • application: T
    • Optionalprojection: ProjectionLike
    • keepClientConfig: boolean = false

    Returns Promise<undefined | LayerGroup>

  • Parameters

    • application: T
    • layers: S[]
    • Optionalprojection: ProjectionLike
    • keepClientConfig: boolean = false

    Returns Promise<LayerGroup>

  • Parameters

    • application: T

    Returns Promise<Collection<Interaction> | Interaction[]>

  • Parameters

    • application: T
    • OptionaladditionalOpts: ViewOptions

    Returns Promise<View>

  • Parameters

    • nodes: DefaultLayerTree[]
    • layers: S[]
    • Optionalprojection: ProjectionLike
    • keepClientConfig: boolean = false

    Returns Promise<BaseLayer[]>

  • Parameters

    • layer: S
    • projection: ProjectionLike = 'EPSG:3857'

    Returns TileLayer<TileWMS>

  • Parameters

    • layer: S
    • projection: ProjectionLike = 'EPSG:3857'

    Returns VectorLayer<VectorSource<Feature<Geometry>>, Feature<Geometry>>

  • Parameters

    • layer: S
    • projection: ProjectionLike = 'EPSG:3857'

    Returns Promise<TileLayer<TileWMS>>

  • Parameters

    • layer: S
    • projection: ProjectionLike = 'EPSG:3857'

    Returns Promise<undefined | TileLayer<WMTS>>