Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save graphics created by draw widget #232

Closed
cuthberts opened this issue Sep 29, 2014 · 9 comments
Closed

Save graphics created by draw widget #232

cuthberts opened this issue Sep 29, 2014 · 9 comments

Comments

@cuthberts
Copy link

Hi,

Would it be possible to add a button in the Draw widget that allows the user to save their graphics to a txt?

Cheers,
Steve

@tr3vorm
Copy link
Contributor

tr3vorm commented Sep 29, 2014

I cannot answer your question but I have wondered about this too. In my case I would like to be able to store graphics based on the user context, either stored locally or ideally in a central store (folder/database) that would be loaded automatically.

@btfou
Copy link
Contributor

btfou commented Sep 30, 2014

@cuthberts @tr3vorm A new draw widget is in the works that will allow exporting/importing of GeoJSON, and will have local storage capabilities. The idea is to build a saving/loading api so devs can build their own "plugin" for the backend of their choice. Local storage will be an example of interacting with the widget's save/load functionality. A release date is not set but wanted you to know it's coming.

@cuthberts
Copy link
Author

Thanks for the heads up @btfou

@TPLsmitty
Copy link

This enhancement sounds great. It would also be nice to have the user configure the drawing ie: select fill color and or transparency, Line color / width etc.

@green3g
Copy link
Member

green3g commented Nov 11, 2014

@btfou I just updated the AppSettings widget I've been working on to allow other widgets to save/load items using topic to the local storage and share via url/email. I'd like to hear your thoughts on whether or not this would be an option to saving the geojson graphics.

https://github.com/roemhildtg/CMV_Widgets/tree/master/AppSettings_Widget

@DavidSpriggs
Copy link
Member

@roemhildtg possibly. @btfou and @jebu75 are working on a self contained advanced daw that will contain all this functionality in one widget. No need to have a dependency on a second widget.

@lee53
Copy link

lee53 commented Jan 19, 2015

I looked at the advanced draw widget but couldn't find the save option. Is "saving graphics" available?
Saving graphics would be really useful, either local or server.

@tmcgee
Copy link
Member

tmcgee commented Jan 19, 2015

I don't think that functionality has yet been added to the advanced draw widget.

@lee53
Copy link

lee53 commented Jan 19, 2015

thanks for your quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants