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