map

map.isTransitioning

isTransitioning(): boolean

Whether a mode transition is currently in progress.

Returns true between the "map:modeChanged" and "map:transitionComplete" events. With the current state-only implementation this window is synchronous, so callers will always observe false unless the method is called from within a "map:modeChanged" event handler.

Returns: boolean