Skip to main content

MapLayerStatus

What a layer is doing, as a short name: off, on, loading, ready, empty, error, one of the tile layer's tiles- states, or a zoom limit. More may be added, so a reader needs a default for a name it does not know. In releases after 0.2.0, not in 0.2.0 or any earlier release.

This is a type alias exported by @mapcairn/sdk/browser, checked against version 0.2.0.

Signature​

import type { MapLayerStatus } from "@mapcairn/sdk/browser";

type MapLayerStatus = "off" | "on" | "tiles-slow" | "tiles-unavailable" | "tiles-format" | "loading" | "ready" | "empty" | "error" | "zoom-in" | "zoom-out";