Skip to main content

VectorTileSource

Vector tiles drawn by the map engine, styled per source layer. Features stay in the tiles, so a layer of this kind has a key but no cards or list.

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

Signature​

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

interface VectorTileSource

Properties​

kind​

readonly kind: "vector-tiles";

Tells a vector tile source from the other source kinds.

maxzoom​

readonly maxzoom: number;

The deepest tile level the service has; the engine scales beyond it.

minzoom​

readonly minzoom?: number;

The shallowest tile level the service has. Defaults to 0.

tiles​

readonly tiles: string;

A URL template over control values. {z}, {x} and {y} are left for the engine.

Source: packages/core/src/layers/definition.ts:295