Hi all,
I'm building an enterprise application using the ArcGIS Maps SDK for JavaScript (v4.x) that requires both the Features widget (for displaying feature information) and the Editor widget for editing capabilities.
The Problem: Both widgets have their own selection/interaction behavior, and I'm finding conflicts when trying to use them together. When a user clicks on a feature:
- The Features widget wants to display the popup/info panel
- The Editor widget also responds to selection for editing
This creates a confusing UX where it's unclear which widget "owns" the selection, and switching between viewing and editing modes isn't intuitive.
What I'm looking for: I'd like to implement a global/unified selection mechanism that:
- Allows a single feature selection to be shared across both widgets
- Provides clear mode switching (view vs. edit)
- Maintains a consistent selection state across the application
I know there is a the Select widget in ExB, but has anyone implemented something similar for JavaScript applications?
Thanks!