Hi,
we are showing satellite data to customers but would be nice to see what means red and what means blue on image.
That’s why we need legend for data.
How to get data legend for wms call in leaflet?
Our request looks like this:
return _leaflet.value.tileLayer.wms(https://services.sentinel-hub.com/ogc/wms/${config.public.wmsId}
, {
tileSize: 256,
layers: layerType,
upsampling: “BICUBIC”,
maxNativeZoom: 18,
minNativeZoom: 15,
minZoom: 0,
maxZoom: 30,
format: “image/png”,
geometry: generatePolygonString(geojson),
crs: _leaflet.value.CRS.EPSG4326,
transparent: true,
time: state.value.newSatelliteDate
} as ExtendedWMSOptions);
};