public async initializeMap(mapTarget: HTMLDivElement): Promise<void>| Nom | Type | Description |
|---|---|---|
| subs protected | (() => void)[] | |
| innerMapReady | unknown | |
| tools | ToolImplementations | |
| services | ServiceImplementations | |
| layerList | ApiMapServiceList<MapService> | |
| basemapList | ApiBasemapList<Basemap> | |
| editionManager | ApiEditionManager | |
| loadingState | ApiLoadingState |
public async initializeMap(mapTarget: HTMLDivElement): Promise<void>
public onReady(successCallback: () => void, errorCallback?: (_error: unknown) => void): void
public addMapService(mapServiceConfiguration: MapServiceConfiguration): ApiMapService
public removeMapService(id: string): boolean
public addGraphicMapService(mapServiceConfiguration: GraphicMapServiceConfiguration): ApiGraphicsMapService
public getMapServiceById(id: string): MapService | undefined
public whenInnerMapReady(fn: () => void): void
public destroy(): void
public abstract openPopup(title: string, content: string | HTMLElement, options: ApiPopupOptions): Promise<void>;
public abstract closePopup(): void;
public abstract getMapExtent(): ApiExtent;
public abstract getMapCenter(): ApiPoint;
public abstract instantiateMapService(mapServiceConfiguration: MapServiceConfiguration): MapService;
public abstract getCurrentWkid(): number;
public async waitForAllMapServicesToBeLoaded(): Promise<void>
protected abstract executeInitialZoom(extent: ApiExtent): void;
protected abstract setMapConstraints(constraints: ApiMapConstraints): void;
protected abstract waitForMapServiceToBeLoaded(mapService: ApiMapService): Promise<void>;
protected abstract instantiateMap(mapTarget: HTMLDivElement): Promise<void>;
protected abstract instantiateBasemap(basemapConfiguration: BasemapConfiguration): Basemap;
private listenToConfiguration()
private listenToBasemapChange(): void
private listenToServicesConfiguration()
private listenToBasemapsConfiguration()
private listenToViewerConfiguration()