moagrius / TileView

TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing.
MIT License
1.46k stars 337 forks source link

limit zoom to minimum of 0 when computing #516

Closed moagrius closed 5 years ago

moagrius commented 5 years ago

@peterLaurence if you don't have time or bandwidth to review this one, it's pretty straightfoward, and i was able to repro the bug, and visually experience that this fix does indeed correct it, so i can merge. that said, another pair of eyes confirming that is always a good thing, so i'll leave it as an eligible PR for now.

also, the setMaximumScale needs to be in ScalingScrollView which is another repo now, so I'll make a PR there following this.

thanks!

p-lr commented 5 years ago

+1, works for me