Select to view content in your preferred language

4.12 LayerList Widget: How to get the ground layers into the list

957
4
Jump to solution
10-13-2019 09:12 PM
by Anonymous User
Not applicable

Hi, currently the layer list widget is not listing the ground layers. is that an intended behavior of this widget?

Version: 4.12

Ground Layers Count: 1

Ground Layers List Mode: 'show'

thanks!

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

Currently, we do not have support for ground layers in either the LayerList widget or the BasemapLayerList widget

test-app:

https://codepen.io/noash/pen/LYYNWVo

View solution in original post

0 Kudos
4 Replies
Noah-Sager
Esri Regular Contributor

Currently, we do not have support for ground layers in either the LayerList widget or the BasemapLayerList widget

test-app:

https://codepen.io/noash/pen/LYYNWVo

0 Kudos
by Anonymous User
Not applicable

Thanks for the info. Can you guys please raise an enhancement request, as it would make a sense to support it as it's another type of layer within the map. I thought I could reuse the LayerList Widget for this, but seems like I will have to create my own component for this. Thanks

0 Kudos
Noah-Sager
Esri Regular Contributor

If possible, I would recommend working with Support and getting this properly vetted as an Enhancement request.

https://support.esri.com/en/Products/Developers/web-apis/arcgis-api-for-javascript/

0 Kudos
JethroLeevers
Regular Contributor

@Noah-Sager is the any change on this, it would be useful to be able to toggle terrain on and off in the layer list.

The scene viewer shows the terrain in the layer list.

@Anonymous User what solution did you use?

0 Kudos