Example of using availableStyles
martin-bom opened this issue · 1 comments
martin-bom commented
Hi,
Is there an example demonstrating how to use the parameter "availableStyles" in WMS item?
I come across a WMS endpoint:
https://services.ga.gov.au/gis/great-artesian-basin/wms?REQUEST=GetCapabilities&SERVICE=WMS
There are some layers having two styles and each of them have their own legend.
Can the parameter "availableStyles" capable of configuring two styles such that when I switch between style, the legend image will be updated as well?
Thank you.
http://www.neii.gov.au/viewer/#share=s-dAEacsXPivBdXI73dpGQ6Uz6owG
martin-bom commented
I resolved it by displaying both legends together using parameter legendUrls
. Close the issue.