Map Layers Custom widget
A modified version of the Experience Builder Map Layers widget. It does everything the standard widget does and adds the features below. This was migrated from a Custom Widgets Question where I had the original version.
GitHub: https://github.com/brianmcleer/map-layers-custom-widget
Features added over the standard Map Layers widget
- Auto-include new sub-layers: a designated group's newly added sub-layers appear in deployed apps without editing settings or redeploying.
- Layer focus: isolate a single layer or map-service sub-layer and hide the rest, with an explicit exit.
- Visible-layer count badge.
- Collapsible layer list, with an optional start-collapsed state.