Hi,
We are developing an apps in which we have to give editing functionality to our users. Parcels polygon is the only editable layer in the apps.Now,users should be able to add new features as circles,rectangles,polygons.
I am fairly new to JS API.So, I am not sure if this thing (creating new circles,rectangles) is possible in JS API. I am really confused as where to start from and how should I proceed.
I went through the online API documentation and found that esri.dijit.editing.Editor-all class has a constants for creating arrow,ellipse, triangle etc. However, I donot understand how to use this constants in the code.Our user would click rectangle button and he should be able to draw a new parcel as rectangle.Same is with circle.polygon etc.
So, can anybody help me out here as to what to do and how to do it? Any help is appreciated.
Regards,
Sanjay.