Select to view content in your preferred language

ArcGIS Online New Map Viewer doesn't support WMS Legends

1751
8
Jump to solution
09-04-2023 04:20 PM
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

8 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. 

PhilippeDerynck
Emerging Contributor

Hi @ZaraMatheson , will there be a patch for ArcGIS Enterprise 11.3? ArcGIS Enterprise 11.4 is breaking (no WAB functionality) and it will take a big change (and a lot of preparation time)  to upgrade to ArcGIS Enterprise 11.4.

0 Kudos
JeffreySutherland
Esri Contributor

Hi @PhilippeDerynck !

There is no patch currently planned for this functionality in the Map Viewer in ArcGIS Enterprise 11.3. That said, this functionality is available in the new Map Viewer in ArcGIS Enterprise 11.4 (released yesterday on November 7, 2024!).

See screengrab from 11.4 below using the test WMS service provided in the original comment.

JeffreySutherland_0-1731086208161.png

It is important to note that that ArcGIS Enterprise 11.4 is not a breaking release with regard to the Map Viewer Classic and Web AppBuilder. Both applications will be available for use in 11.4. For more information on the retirement roadmap for Map Viewer Classic and Web AppBuilder, please see links below:

https://support.esri.com/en-us/knowledge-base/deprecation-map-viewer-classic-deprecation-000030662

https://www.esri.com/arcgis-blog/products/web-appbuilder/announcements/arcgis-web-appbuilder-roadmap... 

0 Kudos
Marc_Graham
Frequent Contributor

Hi,

Please consider adding this functionality to 11.3 via a patch. As 11.3 is a LTS release many organizations will be on it until 11.5 is released. 

Thanks,

Marc