Spinner

Shows when the map is busy.

type: spinnerstandalonestable

What it does

A spinner appears while the map is loading tiles or rendering, and disappears when the map settles. The spinner helps distinguish a slow map from a broken one.

While the map's clock is playing, the spinner is hidden. An animation may never reach idle, so the spinner would otherwise stay on for the whole run.

Tiles that arrive during animation are therefore not shown as a loading state.

Using it

Nothing to operate. The spinner appears while the map is busy and goes away when the map is not busy.

In your own map

Add spinner with a position.

Extending it

The store's mapBusy still records what the engine reports. This component decides whether that busy state should be shown.

Config typespinner
Element<webmapx-spinner>
Placementstandalone
Sourcesrc/components/webmapx-spinner.ts
Teststests/tool-registration.test.ts
RelatedactiveAdapter, layerOverview