jessedc / JCTiledScrollView

A set of classes that wrap UIScrollView and CATiledLayer. It aims to simplify displaying large images and PDFs at multiple zoom scales.
MIT License
310 stars 47 forks source link

Fine tune annotation fade in/out and when they're added and removed #5

Closed jessedc closed 11 years ago

jessedc commented 12 years ago

The logic associated with removing annotations depends on the annotation contentPosition; When an annotation view's centre point moves outside the bounds of the scroll view they fade out. This logic needs to take into account the bounds of the annotation view within the scroll view.

wenwuwang commented 12 years ago

Annotations added to TileView not in fixed position after zoon in or zoom out, how can i fix the position?

jessedc commented 12 years ago

@wenwuwang I'm aware of a small issue with zooming in/out with the gestures, but nothing that leaves the annotations out of their proper place.

wenwuwang commented 12 years ago

Thank you, @jessedc, i have found a solution to the problem, that's add annotation on scrollview and reposition annoation in scrollViewDidScroll method.

jessedc commented 12 years ago

@wenwuwang if you have any code changes please feel free to submit a pull request or two ;)

wenwuwang commented 12 years ago

@jessedc I will submit a pull request after a while

wenwuwang commented 12 years ago

@jessedc I encounter a problem when i using JCTiledScrollView in my project,it don't support Retina display in actual device.

wenwuwang commented 12 years ago

It's my fault, but the biggest size image is blurry.

jessedc commented 11 years ago

Closing this as I'm happy with how things are moving along.