TomSchimansky / TkinterMapView

A python Tkinter widget to display tile based maps like OpenStreetMap or Google Satellite Images.
Creative Commons Zero v1.0 Universal
621 stars 85 forks source link

Smoother Zoom #53

Closed kXborg closed 1 year ago

kXborg commented 2 years ago

At the moment, the zoom step size is 1. Is it possible to set it to something like 0.1 to make a smooth zoom effect?

TomSchimansky commented 2 years ago

It would be possible if tkinter would support image resizing on the canvas. But it does not. So its not possible because I would have to resize the tile images with PIL into a lot of different resolutions for a smooth zoom to the next zoom step. But PIL is way too slow for this.