Overlays with MkMapView do not scroll smoothly
Posted
by Chase
on Stack Overflow
See other posts from Stack Overflow
or by Chase
Published on 2010-04-23T05:54:11Z
Indexed on
2010/04/30
9:37 UTC
Read the original article
Hit count: 724
By overriding the drawrect of my MkAnnotationViews, I am displaying paths using CoreGraphics. The problem I have is when I zoom in pretty close and scroll the map view, the paths drawn by CoreGraphics seem to be really jumpy, as if they are updated only after a shift of three or more pixels. When zoomed out, the scrolling is perfectly smooth and is reflected for each pixel shift. The drawrect function is not called during this scrolling as I assume mkmapkit is just applying translations on the existing views. Any ideas how to smooth this out or why this is happening?
© Stack Overflow or respective owner