Get geometry of a selected graphic or feature

272
1
08-02-2023 03:05 PM
Labels (1)
JakeJacobsAVA
New Contributor III

We have a use case for a user in ExB to draw a polygon and then pass that as an input spatial filter to an external url (fme server). 

I was thinking the Draw widget was nice since it doesn't persist like a Markup HFL would. But can any other widgets interact with the graphic? And can the geometry be retrieved in a List widget, or the like?

Similarly, can I get the json for the geometry of an object in ExB?

 

 

 

1 Reply
Shen_Zhang
Esri Contributor

Hi @JakeJacobsAVA 

Currently, there is no way to get graphic geometries generated from the draw widget. You can only manage graphics from the draw widget on maps. 

Shen Zhang
0 Kudos