# MapTileOverlay

Raster tiles drawn over the basemap, such as satellite imagery or a WMS map.

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

## Signature

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

## Properties

### bounds

```ts
readonly bounds?: readonly [number, number, number, number];
```

`[west, south, east, north]` in degrees, west less than east. The engine
requests no tile that lies wholly outside this box; a tile that straddles
an edge is still drawn whole. Without it, every tile of the world is
requested.

### maxzoom

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

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

### opacity

```ts
readonly opacity: number;
```

From 0 to 1.

### tiles

```ts
readonly tiles: string;
```

The tile URL template. The adapter fills `{z}`, `{x}` and `{y}`, or
`{bbox-epsg-3857}` for a WMS GetMap URL.

### tileSize

```ts
readonly tileSize: 256 | 512;
```

The tiles' size in pixels, 256 or 512.

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