Setting maximum buffer distance

546
2
Jump to solution
04-28-2021 11:09 AM
MarkBalman
Occasional Contributor

Hi all

Is it possible to restrict users drawing geometries on a map for selecting features that intersect that geometry e.g. an extent covering over 1,000 kilometres etc? Additionally, how would one restrict users entering buffer sizes of excessive distances e.g 1,000 km etc?

Thanks in advance for any suggestions!

Mark

0 Kudos
1 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

I created this simple test app for you. Hope you can adjust it to meet your needs. 

You may also find this sample helpful as it also shows how to validate a geometry for a particular action.

Hope this helps,

-Undral 

View solution in original post

0 Kudos
2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

I created this simple test app for you. Hope you can adjust it to meet your needs. 

You may also find this sample helpful as it also shows how to validate a geometry for a particular action.

Hope this helps,

-Undral 

0 Kudos
MarkBalman
Occasional Contributor

Thank you Undral

This is very helpful, I will have a look at the code and see if I can incorporate this into my v3 code.

Best wishes

Mark

0 Kudos