MapLayerSources Class @beta
A collection of MapLayerSource objects.
Methods
| Name | Description | |
|---|---|---|
| findByName(name: string, baseMap: boolean = false): MapLayerSource | undefined | ||
| addSourceToMapLayerSources(mapLayerSource?: MapLayerSource): Promise<MapLayerSources | undefined> Static | ||
| create(iModel?: IModelConnection, queryForPublicSources: boolean = false, addMapBoxSources: boolean = false): Promise<MapLayerSources> Static | ||
| getInstance(): MapLayerSources | undefined Static | ||
| removeLayerByName(name: string): boolean Static |
Properties
| Name | Type | Description | |
|---|---|---|---|
| allSource Accessor ReadOnly | MapLayerSource[] | ||
| bases Accessor ReadOnly | MapLayerSource[] | ||
| layers Accessor ReadOnly | MapLayerSource[] |
Defined in
Last Updated: 04 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.