Select to view content in your preferred language

close elevation-profile-widget-map-interaction while switching widgets in the widget-controller

384
3
10-25-2024 06:52 AM
AndreasEugster
Frequent Contributor

A basic Experience Builder setup with a widget controller. When the measurement widget is opened and "Start Measuring" is selected, a map interaction is activated. If you switch to a different widget within the controller, this measurement map interaction is automatically canceled (as I would expect).

However, in the elevation profile widget, switching to another widget does not cancel the active draw interaction; instead, users must manually switch back to the elevation profile widget and hit "reset" to stop the interaction.

Is this the intended behavior?😉

 

eveprof.gif

0 Kudos
3 Replies
AlixVezina
Esri Regular Contributor

Hi @AndreasEugster ,

Thanks for posting! This is a known limitation right now. We're working on a new option that will allow you to clear widgets once they are closed from the controller which will resolve this.

JeffreyThompson2
MVP Frequent Contributor

@AlixVezina Good to hear you guys are working on this. This can be a real source of frustration for people making custom widgets. It would be best if this option was controllable on a widget-to-widget basis rather than on the Widget Controller level. I have some widgets I want to stop and others I want to keep working.

GIS Developer
City of Arlington, Texas
AlixVezina
Esri Regular Contributor

Great! Yes that's the plan!