How do I change the layer label to be only what the name of the layer is?
I am using the Developer edition.
I want it to say Building Labels and not Interior_ - Building Labels
Robert,
Do you remember what release that was?
Thank you. I was hoping it was not my widget but something else that could be changed.
Rickey,
That could be the issue then. Hard to say. I remember in one of the releases of LL widget I added code to specifically set the layer legend title.
rscheitlin I should also add that it is mostly using the LL widget. It is using my custom LL widget that I made a few years ago. It does not use the config.json.
I was able to get the LayerList widget to remove the unwanted labels just not the legend.
That is very odd because there is code in the LL widget to set the legend title to exactly what the layer name is in the LocalLayer widgets settings. What does your LL widget config.json look like?
I am using the LocalLayer widget to add the layers so it does not use AGOL.
rscheitlin I should also add that I am adding the layer with the LocalLayer widget.
I have uncommitted out that section but it seems to work for the layer list not the legend.
Thank you
Hi
An application in WAB uses a Web Map from the Portal (ArcGIS Online or Portal for ArcGIS), so the Layer name can be configured in the WebMap. The legend Widget reflect this change.
Ricky,
See my previous answer of this:
https://community.esri.com/thread/189607-remove-feature-layer-name-in-front-of-layers-in-arcgis-online-toc
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.