Cogs Terrain Raster Source for WMTS providers
const wmtsRasterInfo: Cogs.WmtsRasterInfo = { url: 'http://a.tile.openstreetmap.org/{TileMatrix}/{TileCol}/{TileRow}.png', layer: '', mimeType: 'image/png', tileMatrixSet: '', style: '', extents: { minX: -20037508.3427892, maxX: 20037508.3427892, minY: -20037508.3427892, maxY: 20037508.3427892 }, tilingInfo: { dx: 40075016.6855784, dy: 40075016.6855784, tileWidth: 256, tileHeight: 256, levels: 19, rootLevel : 8 }};const wmtsSource = new Cogs.WmtsRasterSource(wmtsRasterInfo); Copy
const wmtsRasterInfo: Cogs.WmtsRasterInfo = { url: 'http://a.tile.openstreetmap.org/{TileMatrix}/{TileCol}/{TileRow}.png', layer: '', mimeType: 'image/png', tileMatrixSet: '', style: '', extents: { minX: -20037508.3427892, maxX: 20037508.3427892, minY: -20037508.3427892, maxY: 20037508.3427892 }, tilingInfo: { dx: 40075016.6855784, dy: 40075016.6855784, tileWidth: 256, tileHeight: 256, levels: 19, rootLevel : 8 }};const wmtsSource = new Cogs.WmtsRasterSource(wmtsRasterInfo);
Static
Cogs Terrain Raster Source for WMTS providers
Example