Skip to main content

MapTileLayerUnavailable

What MapEvents carries.

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

Signature​

import type { MapTileLayerUnavailable } from "@mapcairn/core";

interface MapTileLayerUnavailable

Properties​

layerId​

readonly layerId: string;

The id the layer was set under with setTileLayer.

tiles​

readonly tiles: string;

The MapTileOverlay template the failed tiles were drawn from, so a report that arrives after the layer was set again can be told from one for what is on the map now.

Source: packages/core/src/ports/map.ts:114