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

[Feature Request] How to edit vc-drawing (manually add/edit/remove nodes) => save drawing/export/load #499

Open
romain974 opened this issue Jan 18, 2024 · 1 comment

Comments

@romain974
Copy link

Existing Component

Yes

Component Name

vc-drawing

Description

I use vc-drawing, but need some interaction: I wan't to allow my users to save their drawing to geojson, and upload geojson to be able to modify.
I'm unable to find how to do this. Any clues ? Seems faisible, but i reaaly don't undestand how the drawing component works (no datasource?).
Any help would be appreciated, and I can in return push my code to help improve vue-cesium.

@zouyaoji
Copy link
Owner

In terms of editing, obtain the renderDatas for each drawing component, and exporting involves exporting this array as well. Please refer to #435

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

No branches or pull requests

2 participants