Select to view content in your preferred language

freehand polygon using AGSMutablePolygon

3765
3
05-03-2016 07:49 AM
MaximoMobile
Emerging Contributor

does anyone have idea how to create freehand polygon using either  AGSMutablePolygon or something else 

I want to use   sketch layer to create freehand polygons.  i try suing mapkit its works fine but with ESRI ios sdk , dont know how to create freehand polygon , any ideas......

thanks

Tony

0 Kudos
3 Replies
MaximoMobile
Emerging Contributor

anyone ??...  any solution , ideas ...

ESRI should stop this geonet , if no one  from ESRI developers looks at it. At least have ideas for developer, no one is asking for code but ideas using your SDK should at least be provided.

don't  you agree ???

Tony

0 Kudos
DiveshGoyal
Esri Regular Contributor

Take a look at this demo - tips-and-tricks-ios/UC2013_TipsAndTricksDemos/FreehandSketch at master · Esri/tips-and-tricks-ios · ...​  , it shows how to draw a freehand polyline . You can enhance it to join the first and last vertex to draw a polygon instead.

0 Kudos
MaximoMobile
Emerging Contributor

Thanks Divesh

when you use first and last vertex connect , its still a line how do i convert that to polygon ??

0 Kudos