ZachLiu

Draw and save graphics to a local file.

Discussion created by ZachLiu on Aug 3, 2013
Latest reply on Aug 7, 2013 by TimSparq
I am working on a project which includes a draw toolbar. However, I need to extend the tool to have the ability to save the graphics to a local file(text or csv), and the user can also open the file and display the stored graphics on the map.

So basically, I need to replicate the draw widget in Flex API.

What I am thinking now is when user click the save button, the JS code will store the graphics in a object. But I don't know how JavaScript can write the variable to a local file and also read it later, or if I need a server side script for the job.

Can anyone give some clues?

Outcomes