Hello. I'm using layerlist trigger actions which you documented at below link. First of all thanks for this useable property.
LayerList widget with actions | ArcGIS API for JavaScript 4.6
But full-extent action is working for map layers only (tile, mapimage etc..) doesn't work for grouplayers.
opacity action is working on all layers
Is there any way to do full-extent action for grouplayers?
Thanks inadvance.
Solved! Go to Solution.
The group Layer does not have the fullExtent property.
You can calculate a extent using the layers of the group layers or you can hide the full extent button when it's a group layer
The group Layer does not have the fullExtent property.
You can calculate a extent using the layers of the group layers or you can hide the full extent button when it's a group layer
i'm going to hide button then. thanks.