was able to set it up in dash component boilerplate and thought it could be a useful addition to dash leaflet. The idea I've started to come up with is to expand the functionality of the component to extend further with drag, rotate and resize. Not entirely sure how it would all be setup but wanted to share what I was able to get setup in my react.js file:
Ideally It would be awesome if it could extend to images as they are difficult to position as overlays on the map, this would allow the user a way ideally to add an image, resize it and rotate it over the map to get that perfect fit. I wasn't able to get the rotation to work but was able to get the resize and drag to work with:
Outside of maping this could also expand into an interesting concept of being able to create the same functionality of the mac app Freeform if built upon. Just exploratory and figured it was worth sharing.
Thought this was interesting: https://milevski.co/Leaflet.Path.Transform/
was able to set it up in dash component boilerplate and thought it could be a useful addition to dash leaflet. The idea I've started to come up with is to expand the functionality of the component to extend further with drag, rotate and resize. Not entirely sure how it would all be setup but wanted to share what I was able to get setup in my react.js file:
Ideally It would be awesome if it could extend to images as they are difficult to position as overlays on the map, this would allow the user a way ideally to add an image, resize it and rotate it over the map to get that perfect fit. I wasn't able to get the rotation to work but was able to get the resize and drag to work with:
Outside of maping this could also expand into an interesting concept of being able to create the same functionality of the mac app Freeform if built upon. Just exploratory and figured it was worth sharing.
cheers, Pip