MountMapErrorKind
Why a call that draws or changes a map, or an element's definition, could not work:
This is a type alias exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { MountMapErrorKind } from "@mapcairn/map";
type MountMapErrorKind = "server" | "element-in-use" | "invalid-option" | "layers-unavailable" | "destroyed";
Description
server: it ran where there is no document.element-in-use: the element already holds a map.invalid-option: an option or an argument is not usable.layers-unavailable: the function given aslayersfailed to load them.destroyed: the map was destroyed before it was ready.