Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.42 KB

File metadata and controls

59 lines (46 loc) · 1.42 KB

TileMatrix

A tile matrix, usually corresponding to a particular zoom level of a TileMatrixSet.

Properties

Name Type
id string
title string
description string
keywords Array<string>
scaleDenominator number
cellSize number
cornerOfOrigin CornerOfOrigin
pointOfOrigin Array<number>
tileWidth number
tileHeight number
matrixWidth number
matrixHeight number
variableMatrixWidths Array<VariableMatrixWidth>

Example

import type { TileMatrix } from '@geoengine/api-client'

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "title": null,
  "description": null,
  "keywords": null,
  "scaleDenominator": null,
  "cellSize": null,
  "cornerOfOrigin": null,
  "pointOfOrigin": null,
  "tileWidth": null,
  "tileHeight": null,
  "matrixWidth": null,
  "matrixHeight": null,
  "variableMatrixWidths": null,
} satisfies TileMatrix

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as TileMatrix
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]