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

Refactor how data are stored in browser #103

Open
sookoll opened this issue Apr 30, 2020 · 0 comments
Open

Refactor how data are stored in browser #103

sookoll opened this issue Apr 30, 2020 · 0 comments
Milestone

Comments

@sookoll
Copy link
Owner

sookoll commented Apr 30, 2020

Refactor current solution where under one key there is entire layer group with all layers and all features. This is bad, as one feature change trigger entire layer group rewrite.

Each layer under separate key ('layer/layers/layer_id').
Each feature under separate key ('map/layers/layer_id/feature_id').
Hold array of layer keys in current layers keys ('layer/overlays') to join layers into groups.
Hold array of feature keys in layer.features to join features into layer.

@sookoll sookoll added this to the v2.0.0 milestone Apr 30, 2020
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

1 participant