Select to view content in your preferred language

ArcGIS Online New Map Viewer doesn't support WMS Legends

1500
5
Jump to solution
09-04-2023 04:20 PM
Labels (1)
Marc_Graham
Frequent Contributor

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

1 Solution

Accepted Solutions
ZaraMatheson
Esri Contributor

Hello, WMS Legend support was added in the April Map Viewer update. If you are still seeing issues, please let us know. 

View solution in original post

5 Replies
Marc_Graham
Frequent Contributor

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
Marc_Graham
Frequent Contributor

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
Frequent Contributor

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.

ZaraMatheson
Esri Contributor

Hello, WMS Legend support was added in the April Map Viewer update. If you are still seeing issues, please let us know.