# VectorShapeLayer

One layer of a vector tile source, drawn as polygons or lines.

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

## Signature

```ts
import type { VectorShapeLayer } from "@mapcairn/core";
 
interface VectorShapeLayer
```

## Properties

### maxzoom

```ts
readonly maxzoom?: number;
```

The normalised zoom from which the layer is hidden.

### minzoom

```ts
readonly minzoom?: number;
```

Visible from and to these normalised zoom levels.

### sourceLayer

```ts
readonly sourceLayer: string;
```

The layer's name inside the tiles.

### style

```ts
readonly style: ShapeStyle;
```

How it is drawn. The colour rule's `field` is a tile property, and a
label template may name only a single property, such as `{name}`.

## See also

- [`ShapeStyle`](https://docs.mapcairn.com/api/core/ShapeStyle.md)

Source: [packages/core/src/layers/definition.ts:740](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L740)
