Create Group Layers Widget v1.15.0

900
4
11-23-2024 08:51 AM
Danielb3
Occasional Contributor

Hi everyone,

I’ve created a Create Group Layers tool and wanted to share it with the community! 

Demo

I develop Esri widgets purely out of passion and without any economic interest.

Brand-new ArcGIS Experience Builder course:

Enroll now:

ArcGIS Experience Builder — A Complete Guide

https://www.udemy.com/course/arcgis-xbld/?referralCode=4358C636EADDAB1A4C69

 

If you find this tool helpful for your projects, feel free to support me with a coffee!

https://ko-fi.com/danielb3

 

you need to install - npm install react-beautiful-dnd

If you need custom development, don’t hesitate to reach out: buchar123@gmail.com

Cheers,
Daniel

Symptoms

After reviewing the article "Five Ways To Handle Groups of Layers", I went through all five options and concluded that it’s time to switch to a better solution.

Diagnosis

Each approach had its strengths, but the potential for improvement led me to decide on optimizing my method of handling layer groups.

Solution

This widget enhances your experience with ArcGIS maps by giving you an intuitive tool for managing map layers. With this widget, you can:

  1. Organize Your Map Layers: Group layers into custom categories, making it easier to manage and understand your map’s content.
  2. Control Layer Visibility: Quickly toggle the visibility of individual layers or entire groups with simple checkboxes.
  3. Drag and Drop Layers: Effortlessly rearrange layers or move them between groups using a smooth drag-and-drop interface.
  4. Save Your Settings: All your groupings and visibility preferences are saved, so you can pick up right where you left off the next time you use the widget.
  5. Customize Your Groups: Create, rename, or delete groups to keep your workspace clean and efficient.
  6. Collapse and Expand Groups: Keep your view tidy by collapsing groups you’re not currently working with.
4 Replies
JeffreyThompson2
MVP Frequent Contributor

Are the groups editable by the end-user or just the designer?

GIS Developer
City of Arlington, Texas
0 Kudos
Danielb3
Occasional Contributor

Hi,

the end-user can create groups independently and drag objects as needed😉 

Best regards, Daniel

JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/experience-builder-tips-and-tricks/a-list-of-custom-widgets/ba-p/13409...

I added your widget to the custom widgets list. It looks very nice.

I am planning to release another update to my Add/Remove Layers Widget this week that includes a way for end-users to make their own groups. I first built a version of this widget about a month ago and it was always something on my to do list. Please consider this a public apology for stepping in your spotlight.

GIS Developer
City of Arlington, Texas
Danielb3
Occasional Contributor

It’s really nice, thank you! 🚀


Best regards,
Daniel