Save and load the base layer drawn on #979
-
Hello! I have a project with many base layers and want to save the drawn items on every base layer and when loading them again only show them on the correct base layer. How can i get the "drawn on base layer x" and load it again? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think your base layers are L.LayerGroups or L.FeatureGroups. So then you can simply call If you have other layers in the group then the drawn one too, you can check if the layers are drawn by Geoman: |
Beta Was this translation helpful? Give feedback.
-
I dont know how to export the value to geojson and then import it back .. thats my current testsite: https://fastcrow.run/e.html .. if you click on save on the sidebar you see that i get the drawn items per baselayer .. but how can i export a value to reimport them with a check? (if value= hod -> add to "hod_draw" for example .. sorry im very bad with this stuff. |
Beta Was this translation helpful? Give feedback.
-
Solved in a meeting |
Beta Was this translation helpful? Give feedback.
Solved in a meeting