Outdooractive / route-me

Open source map library for iOS
Other
122 stars 400 forks source link

RMMapView in UISplitViewController app, causes duplicate tile handling #115

Closed tagcat closed 11 years ago

tagcat commented 11 years ago

When RMMapView is placed in the detailedviewcontroller of a UISplitViewController, RMMapTiledLayerView.drawLayer get called twice for the same rect each in their own thread. Thus all map tiles get double retrieved and caches. Can demonstrate by taking code from mainviewcontroller from markermurder sample code, and implementing in the detailviewcontroller.

incanus commented 11 years ago

I believe this is a known bug in CATiledLayer and has been filed with Apple.

tagcat commented 11 years ago

Is this unique to UISplitViewController, or anytime we have two subview in one windows? I see the same symptoms with the clone MGSplitViewController. If so is there any workaround.