Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.02 KB

File metadata and controls

44 lines (31 loc) · 1.02 KB

LayerCollection

Properties

Name Type
id ProviderLayerCollectionId
name string
description string
items Array<CollectionItem>
entryLabel string
properties Array<Array<string>>

Example

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

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "name": null,
  "description": null,
  "items": null,
  "entryLabel": null,
  "properties": null,
} satisfies LayerCollection

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

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