map

map.enableMap

enableMap(options?: EnableMapOptions): Promise<void>

Enable map mode.

If map is already enabled, this is a no-op. To switch modes (planar ↔ spherical), use transition() or call disableMap() then enableMap().

Emits "map:enabled" with { mode, provider }.

Phase 1: records state and emits event. Scene wiring is Phase 2/3.

optionsEnableMapOptions

Returns: Promise<void>