Edit

Share via


azure-maps-indoor package

Azure Maps Web SDK Indoor Module service retirement. The Azure Maps Web SDK Indoor Module and Creator services have been retired and will no longer be available or supported after September 30th, 2025. For more information, see Creator Services Retirement.

Classes

LevelControl

A control for changing the level of the indoor map.

LevelControlOptions

The options for a LevelControlOptions object.

IndoorManager
[ Indoor Manager for Azure Maps Control ]

This module applies filtering logic to mapbox layers so that indoor tilesets with multiple floors worth of overlapping features can be presented.

This module was written because of a constraint in mapbox styles that prevents feature state from being used in expressions that drive layout properties like visibility and sort-key. If this constraint were removed, the logic in this module could be captured in a style definition.

       [ Event/Data Flow ]

┌─────────────────┐ ┌────────────────┐ │ event: │ │ event: │ │ "sourcedata" │ │ "levelchanged" │ └────────┬────────┘ └────────┬───────┘ │ │ ▼ ▼ ┌─────────────────┐ ┌────────────────┐ │ facilityMapping │ │ selectedLevels │ └────────┬────────┘ └────────┬───────┘ │ │ │ │ │ ┌──────────────┐ │ ┌────────────────────┐ └─►│ masterFilter │◄─┘ │ mapbox.getLayers() │ └───────┬──────┘ └────────┬───────────┘ │ │ ▼ │ ┌──────────────┐ │ │ filterList │◄───────────────┘ └───────┬──────┘ │ ▼ ┌────────────────────┐ │ mapbox.setFilter() │ └────────────────────┘

IndoorManagerOptions

Options for the Indoor Manager.

Interfaces

EventManager
IFacilityChangeEvent

Event object returned by map when the facility changes.

IIndoorManagerEvents

The events supported by the Indoor Manager.

IIndoorReadyEvent

Event object returned by map when the indoor manager has finished loading.

ILevelChangeEvent

Event object returned by map when the level number changes.

IMap