Skip to main content

MapLayerState

One layer of a map, as a page reads it. In releases after 0.2.0, not in 0.2.0 or any earlier release.

This is an interface exported by @mapcairn/sdk/browser, checked against version 0.2.0.

Signature​

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

interface MapLayerState

Properties​

enabled​

readonly enabled: boolean;

Whether the layer is turned on.

id​

readonly id: string;

The layer's id, as its definition gives it.

status​

readonly status: MapLayerStatus;

What the layer is doing.

See also​