I have a feature layer. User can create Polygon in that feature layer. If user created polygon and an existing polygon have gaps in between, user can resolve these gaps in the application.
I need to support this feature in my new application which uses ESRI JS API 3.24.
For identifying gaps the maximum distance limit for buffer around newly created polygon is 10 miles and minimum distance is 0.5 miles
I need help in designing an algorithm to find out gaps in between polygons and resolve those gaps such that gap geometry is either included in newly created polygon or existing polygon