Select to view content in your preferred language

World Lithology imagery layer in arcgis js. Legend shows numbers instead text.

473
1
10-10-2023 05:44 AM
ivblackking
New Contributor

Hello everyone,

I am using World Lithology imagery layer in arcgis js. Here is the link: https://iv19zcbwcdw3fdex.maps.arcgis.com/home/item.html?id=53c82af69cae4c1f99902c0e0d456bf8

When I use the legend it shows numbers. But I want to display names for each Lithology Class.

How can I do that?

 

0 Kudos
1 Reply
Sage_Wall
Esri Contributor

Hi @ivblackking

It doesn't look like that layer is publicly available.  It depends on which renderer you are using. If you are using a ClassBreaksRenderer you would add a label into the classBreakInfos.  The other renderers are similar so if your using a UniqueValueRenderer you would add a label in the uniqueValueInfos.  You can also do this though the MapViewer UI and save the layer.

0 Kudos