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

Wrong annotation placement #33

Open ghost opened 8 years ago

ghost commented 8 years ago

Hello, I'm writing indoor navigation app and using JCTiledScrollView. My map has predefined points (coordinates in pixels) for each facility. When I trying to set annotation for facility (set annotation for facility coordinates), annotation is places in a wrong place.

Here the screenshot of device screen http://mihael.me/sites/default/files/screenshot1.png Marker must be on Century Theatres , but it does not :( I debug the app, and coordinates are passed correctly. Maybe I'm doing something wrong ? Maybe I must convert pixels to points or something like that. Can you please help me.