Skip to main content

MapVectorTiles

A vector tile layer: one source, drawn from one or more of its source layers.

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

Signature​

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

interface MapVectorTiles

Properties​

layers​

readonly layers: readonly MapVectorSourceLayer[];

The layers of the tiles that are drawn, each with its own look.

maxzoom​

readonly maxzoom?: number;

The normalised zoom from which the whole layer is hidden.

minzoom​

readonly minzoom?: number;

Normalised zoom levels the whole layer is visible between.

source​

readonly source: MapVectorSource;

Where the tiles come from.

See also​

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