Class: GoTruckLayer

GoTruckLayer

new GoTruckLayer()

Layers/GoTruckLayer/index.ts, line 34

Extends

  • undefined

Methods

getLayerDescription(){CancelablePromise.<string>}

Layers/GoTruckLayer/index.ts, line 220

Retrieves the description of the layer's feature type.

Returns:
Type Description
CancelablePromise.<string> A promise that resolves with the geometry field name or rejects with an error.

isGeometryType(type){boolean}

Layers/GoTruckLayer/index.ts, line 234

Checks if a given string represents a valid geometry type.

Name Type Description
type string

The geometry type to check.

Returns:
Type Description
boolean true if the type is a valid geometry type, otherwise false.