Open pvgenuchten opened 1 year ago
Yes this is interesting. It is one of the things that I intended to do someday or another. If someone else does it that's great !
Personally I did not use leaflet for a long time, I tend to use maplibre.
This might not necessarily be submitted as a pull request, instead it can be a wrapper component compatible to be included in vjsf in a slot.
I have not looked at maplibre much yet, but indeed is also an option
I’ll check the slot docs, good suggestion
In our domain we often include a geometry as part of a data object (for example as part of geojson). it would be interesting to have a widget which allows to draw such a geometry.
Such a widget would consist of an interactive map viewer with draw functionality. A common library for maps is leafletjs. Various drawing modules exist, for example this one: https://leaflet.github.io/Leaflet.Editable/example/index.html
Results of drawing could be stored as:
Is this of interest to the group?