I’ve been challenged to create a project that allows a user to markup a map. They want to be able to do the following:
- Add text to the map.
- Add a polygon with the option to show the area of that polygon.
- Add Points to the map
- Save the document with these added text, polygons and points.
- Print the document as a pdf with these graphics.
I was using the advanced drawing tool (link below) and modified it to do what I want but then they threw the whole curve ball of wanting to save the changes. Can you save your graphics to a layer? If so how would I do that?
I would like to do that if possible using a button like below.
<button data-dojo-type="dijit/form/Button" disabled="true">Save</button>
Advanced Drawing toolbar link. If you haven’t seen it you should. It is very nicely done.
https://community.esri.com/people/timw1984/blog/2014/07/22/javascript-api-advanced-draw-widget