Android-Tiling-ScrollView icon indicating copy to clipboard operation
Android-Tiling-ScrollView copied to clipboard

Pinch-to-zoom function like Google Maps

Open SilvanLaroo opened this issue 12 years ago • 5 comments

Thanx for this awesome library!

Maybe it's an idea to add a zoom effect like Google Maps. When you zoom in, the image where you zoom on will be stretched till both fingers are released, from that point the new tiles will be loaded.

SilvanLaroo avatar May 22 '12 10:05 SilvanLaroo

Yes I'd love to have this functionality. As well as a really smooth way to handle the zoom. :)

ened avatar Jun 11 '12 03:06 ened

Please check out https://github.com/jasonpolites/gesture-imageview If theese two widgeds merged, the result would be totally awesome.

edofic avatar Jul 17 '12 12:07 edofic

@edofic Yes I agree. Actually this widget could supersede the other one, just have a picture with one tile only in some cases. I will see to it, holiday now and hopefully there is time for it.

ened avatar Jul 17 '12 14:07 ened

@edofic and @SLv99 if you have time pls. take a look at the updated sample. The pinch-to-zoom works, but it's without the zooming effect like in GMaps and once zoomed, the coordinate translation seems a bit off. Both things that can be fixed I guess. Thanks, Seb

ened avatar Oct 11 '12 02:10 ened

This is a very efficient tiled view library out there. If it can include the pinch to zoom functionality as in edofic link, then this will be very nice. I tried to implement this by trying different set of parameters to smoothScrollTo(...) method but had no luck. Could anyone please tell me where am I going wrong? Now, irrespective of parameter changes to smoothScrollTo(...), it always start filling tiles from top left corner on zoom.

braj008 avatar Feb 25 '13 07:02 braj008