Class ObliqueProvider

Hierarchy

  • ObliqueProvider

Accessors

Constructors

Methods

  • Set a new collection. The collection must be loaded. If a previous collection was set, the current image and its resources will be removed from the olMap.

    Parameters

    Returns void

  • Sets the current image

    Parameters

    • image: ObliqueImage
    • Optional optCenter: Coordinate

      mercator coordinates of an optional center to use. uses the images center if undefined

    Returns Promise<boolean>

  • Sets a new image based on a ground coordinate and a direction.

    Parameters

    Returns Promise<void>

Properties

_active: boolean = false
_collection: null | ObliqueCollection = null
_currentImage: null | ObliqueImage = null
_currentView: undefined | ObliqueView = undefined
_loadingImage: null | string | ObliqueImage = null
_mapChangeEvent: ObliqueProviderMapChangeEventType = 'postrender'
_olMap: Map
_postRenderListener: undefined | EventsKey = undefined
_viewCache: Map<ObliqueImageMeta, ObliqueView> = ...
imageChanged: VcsEvent<ObliqueImage> = ...

Event raised once a new image is set on the provider. Will be passed the new image as the only argument.

switchEnabled: boolean = true

Whether the post render handler should switch on image edge. Setting this to false will suspend all post render handler switches.

switchThreshold: number = 0

Threshold from 0 to 1 to define when to start switching to other images. Where 0 indicates to only switch, when the view center is outside of the image and 1 to always switch. 0.2 would start switching if the view center is within the outer 20% of the image.

Generated using TypeDoc