GithubHelp home page GithubHelp logo

yichizhang / jctiledscrollview_swift Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 2.0 10 MB

Jesse Collis's JCTiledScrollView rewritten in Swift. A set of classes that wrap UIScrollView and CATiledLayer. It aims to simplify displaying large images and PDFs at multiple zoom scales.

License: MIT License

Swift 97.62% Ruby 2.38%

jctiledscrollview_swift's People

Contributors

yichizhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jctiledscrollview_swift's Issues

UIView.layer must be used from main thread only

Hi,

I've been using your library and it's been working really well, but lately I've tried to fix this warning without success, so I was wondering if you could find a solution for this bug.

Best regards,
Renan.

Custom content size in each scale level and option for adding an annotation.

This is a request, Finding this repository just saved my day. It was quite hard to find this repository. This was the best I could find for my requirement.
My request is to add the possibility of adding custom content size in each layer ie., if an image is of content size 15000x15000 and when zoomed-in the content size is 20000x20000 instead of 30000x30000. Like having intermediate zoom levels for more precision.
Also, and option to add annotation where the user taps and add a custom message on the annotation. Annotation should include other types like line drawing or drawing a circle/box. Also, and option to measure the length or area of selected annotation should be able to calculate if the length and area of a tile is provided.

Render new layer on reaching next zoom level.

The next layer of tiled images are being rendered as soon as we start zooming. Instead of this the present layer should zoom in as far as the next layer is available. And this should be repeated for each layer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.