JeffThorslund / Bent-Shaft-Maps

Crowdsourced Interactive Whitewater River Guides
https://www.bentshaftmaps.com
6 stars 3 forks source link

Feature Dragging Functionality #114

Closed bekatru closed 3 years ago

bekatru commented 3 years ago

Oh man... It was intense!

I think I am gonna skip what I did step by step here. It obviously can be seen in changed files. It did not require much of coding, but it did require MUCH of thinking and trying. It took me hours to add a single line of code :D Unfortunately, I couldn't manage to restrict features from overflowing the wrapper. Nevertheless, I think I know how to do it. I just need a little bit more time to make it.

The challenge was... EVERYTHING! I mean really. I stared at code for an hour before an idea poped into my mind. Certainly, it can be improved in terms of refactor. But it works just as you expect it to work. Try it out :) And let me know what you think