I want to draw markers on a zoomable UIView that's using UIScrollView and CATiledLayer. I'm currently using the same setup as the PhotoScroller demo app from Apple. I've no problem drawing shapes, but i want them to stay on the same location even after zooming. Can i use a transformation matrix for that? Or do i have to redraw the shapes after or during zooming? That seems like a costly operation.
I don't want to scale the shapes i'm drawing. So using an scaling transformation isn't possible.
I'm curious how the MapView implements this functionality. Anyone any idea?