Add Buffer Dynamically with Arcade

2783
4
05-14-2019 08:21 AM
AhjungKim4
Occasional Contributor II

In our organization, we have a need to add buffer polygon dynamically to webmap based on a field value in point feature.  I played with Arcade and got my script to return polygon geometry but am not sure how to visualize this on the map.  Is it possible to visualize in-memory geometry with Arcade? 

4 Replies
XanderBakker
Esri Esteemed Contributor

Although you can calculate a buffer from a point geometry, the geometry visualized is inmutable. You should be able to create a new layer based on calculating a buffer around points. See:  https://doc.arcgis.com/en/arcgis-online/analyze/create-buffers.htm

jamosheim25
New Contributor II

Dear Xander:

Could you please decode what you mean? The link sends me to the create buffers via standard tools - Which is not the how to create buffers in Arcade.

Thanks,

John 

 

SteveF
by
New Contributor III

Did you ever get a response to this, it should be a basic feature!

0 Kudos
utenalarosa
New Contributor III

@XanderBakker 

So I am feeding live data from NOAA in my map and I want to create a buffer around the weather stations points. Since the data is live I want the information in the data to be update so I can get the latest temperature information of the station closest to my feature.

Please advise on how to best do this.

Thanks