MapLayerSource Class

A source for map layers. These may be catalogued for convenient use by users or applications.

Methods

Name Description
collectQueryParams(): [key: string]: string Collect all query parameters  
toJSON(): Omit<MapLayerSourceProps, "formatId"> & { formatId: string }    
toLayerSettings(subLayers?: MapSubLayerProps[]): undefined | ImageMapLayerSettings    
validateSource(ignoreCache?: boolean): Promise<MapLayerSourceValidation>    
fromJSON(json: MapLayerSourceProps): undefined | MapLayerSource Static    

Properties

Name Type Description
baseMap boolean    
formatId string    
name string    
password string | undefined    
savedQueryParams [key: string]: string | undefined List of query parameters that will get appended to the source URL that should be be persisted part of the JSON representation.  
transparentBackground boolean | undefined    
unsavedQueryParams [key: string]: string | undefined List of query parameters that will get appended to the source URL that should not be be persisted part of the JSON representation.  
url string    
userName string | undefined    

Defined in

Last Updated: 13 May, 2024