docsby gkjohnson
On this page

Methods

new WMTSTilesOverlay(
	options?: {
		// WMTS service URL.
		url?: string,

		// WMTS layer identifier.
		layer?: string,

		// TileMatrixSet identifier (e.g., 'GoogleMapsCompatible', 'EPSG:3857').
		tileMatrixSet?: string,

		// Style identifier.
		style: string = 'default',

		// Output image format (e.g., 'image/png', 'image/jpeg').
		format: string = 'image/jpeg',

		// WMTS dimension values
		dimensions: Object<string, (string|number)> | null = null,

		// Custom TileMatrix identifiers per level
		tileMatrixLabels: Array<string> | null = null,

		// Explicit per-level tile matrix definitions. When provided, `levels` and `tileMatrixLabels` are ignored.
		tileMatrices: Array<WMTSTileMatrix> | null = null,

		// Projection identifier ('EPSG:3857' or 'EPSG:4326'). Defaults to 'EPSG:3857' if not specified.
		projection: string | null = null,

		// Number of zoom levels. Ignored if `tileMatrices` is provided.
		levels: number = 20,

		// Default tile width and height in pixels.
		tileDimension: number = 256,

		// Content bounding box in radians, `[west, south, east, north]`. If null, uses full projection bounds.
		contentBoundingBox: Array<number> | null = null
	}
)

Inherited