MapLayerSources Class @beta
A collection of MapLayerSource objects.
Methods
| Name | Description | |
|---|---|---|
| findByName(name: string, baseMap: boolean = false): undefined | MapLayerSource | ||
| addSourceToMapLayerSources(mapLayerSource?: MapLayerSource): Promise<undefined | MapLayerSources> Static | ||
| create(iModel?: IModelConnection, queryForPublicSources: boolean = false, addMapBoxSources: boolean = false): Promise<MapLayerSources> Static | ||
| getInstance(): undefined | MapLayerSources 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: 30 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.