DEPRECATED-mapbox-ios-sdk icon indicating copy to clipboard operation
DEPRECATED-mapbox-ios-sdk copied to clipboard

setTileSource doesn't work

Open LeandroHub opened this issue 11 years ago • 3 comments

Setting the RMMapView tileSource at runtime doesn't work. I keep getting a white screen. I also tried addTileSource and reloadTileSource but it doesn't get any better.

However, initWithFrame: andTileSource works great.

LeandroHub avatar Sep 26 '14 17:09 LeandroHub

What code are you using @LeandroHub in the former case? Which version?

incanus avatar Oct 13 '14 22:10 incanus

I'm seeing the same thing with version 1.4.1, which is odd since I thought this was now possible (previously I was using 1.0.3). I have a storyboard containing a view controller scene, which has an RMMapView with IBOutlet to the view controller.

I'm unable to set the tile source in either viewDidLoad or viewDidAppear. It remains nil.

martinjbaker avatar Dec 04 '14 14:12 martinjbaker

@LeandroHub @martinjbaker Can you step debug your nil tile source attempted creation and see where it's falling down? Also check out the latest develop in the event that you've made new maps online recently, as v4 API + using an access token is required.

incanus avatar Feb 03 '15 22:02 incanus