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
import type { MapTileOverlay } from "@mapcairn/core";
interface MapTileOverlay
Properties
bounds
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
readonly maxzoom: number;
The deepest tile level the service has; the engine scales beyond it.
opacity
readonly opacity: number;
From 0 to 1.
tiles
readonly tiles: string;
The tile URL template. The adapter fills {z}, {x} and {y}, or
{bbox-epsg-3857} for a WMS GetMap URL.
tileSize
readonly tileSize: 256 | 512;
The tiles' size in pixels, 256 or 512.