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

hi , center alignment with min scale less than one #52

Closed hyper78 closed 10 years ago

hyper78 commented 10 years ago

hi Moagrius , i m using the large Image tileview ,it show the pivot for scaling on the top left corner when the scale limit had go less than 1 during zoom out.is that anyway to set it to the center?Thank you :)

moagrius commented 10 years ago

hi @hyperspc - the smoothScaleTo method maintains the center point by default. otherwise, you'll need to save the scroll positions and handle it manually. #48 and #49 discuss this a bit.

HTH - post back if you need more help

moagrius commented 10 years ago

@hyperspc no activity in 9 days, so i'm closing the issue. post back if you need more help.