Well, with some sturdy programming, I've managed to come up with this. x]
It's version 1, there's a few things I'd like to fix but am not sure yet how to, maybe one of you fellows can help:
- You can still drag with the mouse being over the buttons menu on the left.
- If you drag outside of the window, the map is "stuck" to your cursor and you need to click again to "unstick" it.
- The map doesn't zoom in to where the screen is, but directly from the middle (because I used scaleX and scaleY)
Oh well, I thought it was pretty cool. Can eventually be used for lots of cool stuff if I tune it up a little. :D
Constructive criticism is highly appreciated.
Up arrow: zoom out slowly
Shift + up arrow: zoom out fast
Space bar: refresh the map
Down arrow: zoom in slowly
Shift + down arrow: zoom in quickly