Select to view content in your preferred language

Pass polygon centroid to direction widget from

706
7
09-12-2024 09:39 AM
Labels (1)
vijaybadugu
Frequent Contributor

Whenever we select a record in a list widget, does it pass polygon centroid to direction widget source ? is there a way to do ?

0 Kudos
7 Replies
DavidColey
MVP Frequent Contributor

I've yet to find a way to do that. It would be a nice enhancement if it could, as the webmap specification allows for it....

0 Kudos
TianWen
Esri Contributor

Thanks for your post! We're currently considering an enhancement and will keep you updated on any progress.

0 Kudos
vijaybadugu
Frequent Contributor

Thanks for this enhancement. 

0 Kudos
vijaybadugu
Frequent Contributor

Any update on this ?

0 Kudos
vijaybadugu
Frequent Contributor

I just customized out of box directions widget to allow points and modified the code accordingly 

0 Kudos
DavidColey
MVP Frequent Contributor

Hi @vijaybadugu  - What code did you modify? Are you working in the developer edition?  Why would the the 'out of box directions widget' not allow points?  

0 Kudos
vijaybadugu
Frequent Contributor

Out of box widget only works for points. it does not work for polygons. I customized the code to allow polygon centroid points in data actions/

0 Kudos