alyssaxuu / mapus

A map tool with real-time collaboration 🗺️
MIT License
3.32k stars 202 forks source link

Geojson export without attribute #9

Open kaheetonaa opened 2 years ago

kaheetonaa commented 2 years ago

Hi, for few days recently I have been testing your app and found out that exported geojson files do not have attributes like color, name and description, only geometry.

P.S. Also if possible you could have a screen-flexible version for the app, since leaflet geoman can be usable on smartphone and tablet.

3xxx commented 1 year ago

If you need to export names, descriptions, colors, and so on, you need to rewrite the exportgeojson method and you have to pull the data out of the database and export it instead of exporting the layer directly.