ArcGIS Online New Map Viewer doesn't support WMS Legends

904
4
09-04-2023 04:20 PM
Labels (1)
MarcGraham2
Occasional Contributor III

Hi,

I want to create a web map with many WMS layers from public sources such as: https://geology.data.vic.gov.au/nvcl/wms

I would like to use the new Map Viewer, not the Map Viewer Classic, however the new Map Viewer seems to be incapable of showing WMS legends.

Map Viewer Classic:

MarcGraham2_1-1693869410269.png

New Map Viewer:

MarcGraham2_0-1693869333203.png

Map Viewer Classic in Web AppBuilder:

MarcGraham2_2-1693869496917.png

New Map Viewer in Web AppBuilder:

MarcGraham2_3-1693869526235.png

New Map Viewer (Left) and Map Viewer Classic (Right) in Experience Builder:

MarcGraham2_4-1693869555732.png

 

Do we know when this is planned to be available, or is there something I am missing to make it work now?

Thanks,

Marc

4 Replies
MarcGraham2
Occasional Contributor III

Looking at the json representation of the two webmaps from ArcGIS Online assistant we can see that the legendUrl for the WMS layer is not added in the New Web Map specification:

MarcGraham2_3-1693872114496.png

 

while it is present in the Map Json created by the old Map Viewer Classic:

MarcGraham2_2-1693872086909.png

 

 

0 Kudos
MarcGraham2
Occasional Contributor III

Just for fun I copied the legendUrl into the new webmap json using ArcGIS Online assistant and it worked 😖

MarcGraham2_4-1693872406050.png

So this must be a bug/feature enhancement request. Here is the related ArcGIS Idea: https://community.esri.com/t5/arcgis-online-ideas/support-wms-legends-in-the-new-web-map-viewer/idi-... .  If you come across this and think it is worthwhile, please upvote.

Thanks,

Marc

SerjStol
New Contributor III

This is an issue for us, we need to use WMS weather service and having a legend is a must!

SaloJo
by
New Contributor

Any solution here, is there a way around? It is a really big problem for us.