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.
options | EnableMapOptions |
Returns: Promise<void>