activates the implementation, if the map is also active. calls initialize (only use internally)
Once the promise resolves, the layer can still be inactive, if deactivate was called while initializing the layer.
Returns Promise<void>
deactivate
deactivate(): void
deactivates the implementation (only use internally)
Returns void
destroy
destroy(): void
destroys this implementation, after destroying the implementation cannot be used anymore.
Returns void
getLogger
getLogger(): Logger
Returns Logger
getOLLayer
getOLLayer(): VectorLayer<VectorSource<any>, any>
returns the ol Layer
Returns VectorLayer<VectorSource<any>, any>
initialize
initialize(): Promise<void>
interface to initialize this implementation, is used to setup elements which have to be created only once.
Has to set this.initialized = true;
represents a specific vectorlayer for openlayers.