Skip to main content

datasetServiceType()

const datasetServiceType: (obj) => "VTS" | "WMS" | "WFS" | "FS" | "Unknown"

Extract the service type from a dataset.

Parameters

obj

AnyDataset

Returns

"VTS" | "WMS" | "WFS" | "FS" | "Unknown"

The service protocol type, 'VTS' | 'WMS' | 'WFS' | 'FS' | 'Unknown'

Example

const serviceType = datasetServiceType(dataset);