Glodenox / wme-image-overlays

A userscript that allows Waze editors to overlay a local image onto the map in the background
GNU General Public License v3.0
4 stars 1 forks source link

Allow resizing with drag handles #3

Open Glodenox opened 6 years ago

Glodenox commented 6 years ago

Instead of working with buttons, it would be nicer if it was possible to stretch and move overlays with dragging handles. This should be possible with OpenLayers controls.

roadtechie commented 6 years ago

Thank you! Unable to use this script currently due to how course the adjustments are with enlarging/downszing. This used to work great so I am assuming the last WME update broke this.

Glodenox commented 6 years ago

There was indeed an issue that I fixed, but apparently I made an error in my calculations which made it impossible to make changes smaller than 5% - which is obviously too much. I've adjusted this to 1% now and added a sensitivity slider that allows to further adjust this up to 0.01% if needed.

That doesn't fix this issue though. I'd like to find an easier way to line up an image on the map than those buttons.