# 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

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

## Properties

### layers

```ts
readonly layers: readonly MapVectorSourceLayer[];
```

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

### maxzoom

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

The normalised zoom from which the whole layer is hidden.

### minzoom

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

Normalised zoom levels the whole layer is visible between.

### source

```ts
readonly source: MapVectorSource;
```

Where the tiles come from.

## See also

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

Source: [packages/core/src/ports/map.ts:250](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/map.ts#L250)
