Skip to content

@deltares/fews-web-oc-composables


@deltares/fews-web-oc-composables / FetchWmsLegendOptions

Interface: FetchWmsLegendOptions ​

Defined in: useWms/fetchWmsLegend.ts:11

Properties ​

colorScaleRange? ​

optional colorScaleRange?: string

Defined in: useWms/fetchWmsLegend.ts:19

Optional "min,max" color scale range override.


layerName ​

layerName: string

Defined in: useWms/fetchWmsLegend.ts:13

Name of the layer to load the legend for.


style? ​

optional style?: Style

Defined in: useWms/fetchWmsLegend.ts:22

Optional WMS style to render the legend with.


useDisplayUnits ​

useDisplayUnits: boolean

Defined in: useWms/fetchWmsLegend.ts:16

Whether to render the legend using display units.


webservice? ​

optional webservice?: PiWebserviceOptions

Defined in: useWms/fetchWmsLegend.ts:28

Optional webservice configuration for standalone usage. When omitted, the host-provided webservice context is used.