Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.01 KB

File metadata and controls

46 lines (33 loc) · 1.01 KB

Layer

Properties

Name Type
id ProviderLayerId
name string
description string
workflow Workflow
symbology Symbology
properties Array<Array<string>>
metadata { [key: string]: string; }

Example

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

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "name": null,
  "description": null,
  "workflow": null,
  "symbology": null,
  "properties": null,
  "metadata": null,
} satisfies Layer

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 Layer
console.log(exampleParsed)

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