You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
I can't find many answers to this error on the web...
Here's the error that I get:
[8225] : ImageIO: CGImageSourceCreateWithData data parameter is nil
It looks like in SDK8, the tile overlay generates errors... but is it the mbxmapkit or the apple MapKit? and is this error has been reported somewhere?
Seeing the same thing. From the Apple documentation I read, it seems like this message would popup if some image we're trying to load is missing or has been released (or not retained when it should have been, so it's dropped out of scope).
Have been hearing of this a little in 8. Maybe insert an NSLog() around tile URL requests and see if MapKit is somehow requesting invalid ones? We've seen that before with MapKit, where it requests tiles outside of the stated overlay min/max zoom, for example.
For me, the tiles do not load whatsoever on an iOS 8.0.2 device. I have experience crashes, but I have not yet established a consistent procedure to reproduce them.
The tiles do correctly load in my iOS 7 simulator.
The tiles do correctly load in my iOS 8 simulator. I can also confirm that the tiles do not correctly load on a 8.1 device. So the failure to load the tiles applies to iOS 8.x devices, but not iOS 8 simulators (Xcode 6.1)
also the sample application does correctly load tiles on a iOS 8 device
@incanus just branched our project and tested this out. At a quick first glance it seems quite successful. No more error log and - I cant 100% confirm this yet - but our map tiles even appear to be rendering faster. I ran a couple time profiler tests on iPhone 5 iOS 8.1 that seemed to correlate with this. Are the default settings MBXRasterTileRenderer lower quality than the MKTileOverlayRenderer? I haven't fiddled with it that much yet but I'll report back when we are able to get some more testing in.
Yeah @rossbertsch it's likely this seems faster, since there are 1/4 the network requests as 512px tiles are being retrieved, then trimmed into four 256px tiles, then cached. Nice to hear! Thanks for checking it out.
Working excellent here, definitely faster as well. Thanks Justin!
Only hitch I ran into was Xcode fighting me on the weak reference assignment in “canDrawMapRect” of “MBXRasterTileRenderer.m”, line 101. I assume I need to set an option somewhere in my project’s build settings, but didn’t see anything different between my project and the sample project that should have mattered. If anybody has a suggestion, let me know. For now, I just brute forced it:
See attached screenshot — Xcode was acting like it didn’t know what to do with "typeof(self)”. Once I manually defined weakSelf as MBXRasterTileRenderer it was fine.
On Dec 16, 2014, at 12:32 PM, Justin R. Miller [email protected] wrote:
Hmm, what warning do you see from that @s219? There is probably a build setting related to strong typing.
—
Reply to this email directly or view it on GitHub.
How to calculate the size of the selected area of the map before downloading i am using MBXMapKit SDK any one can help me how to calculate the size of the map before downloading the map.
Activity
s219 commentedon Sep 26, 2014
Seeing the same thing. From the Apple documentation I read, it seems like this message would popup if some image we're trying to load is missing or has been released (or not retained when it should have been, so it's dropped out of scope).
incanus commentedon Sep 26, 2014
Have been hearing of this a little in 8. Maybe insert an
NSLog()around tile URL requests and see if MapKit is somehow requesting invalid ones? We've seen that before with MapKit, where it requests tiles outside of the stated overlay min/max zoom, for example.ichents commentedon Sep 28, 2014
i'm experiencing this too.. do you support iOS 8?
incanus commentedon Sep 29, 2014
Yes, iOS 8 is supported both in the sense that the software is meant to run on it, and we provide tech support for it.
ichents commentedon Sep 30, 2014
Good to know, but i meant it in the context of this bug..
Did you release a fix for this problem?
incanus commentedon Sep 30, 2014
My current understanding is that this is a bug on Apple's side, but I will check it out in more detail and see if we can work around it.
incanus commentedon Sep 30, 2014
After digging into this, it is definitely:
MKTileOverlayRendererdraws tiles.Further reference: https://devforums.apple.com/message/1051745
For now, let's leave this open and watch the dev forum post.
aolszak commentedon Oct 9, 2014
Same problem here. At the moment I have no idea how to get rid of this error.
janngobble commentedon Oct 24, 2014
I am seeing this too...even with 8.1
johnhaitas commentedon Nov 4, 2014
Seeing this over here as well with commit 416d8a9 - has anyone found a short term workaround?
incanus commentedon Nov 4, 2014
To clarify: is anyone seeing problems because of this, or just log messages?
johnhaitas commentedon Nov 4, 2014
For me, the tiles do not load whatsoever on an iOS 8.0.2 device. I have experience crashes, but I have not yet established a consistent procedure to reproduce them.
The tiles do correctly load in my iOS 7 simulator.
Attaching a screenshot from my iOS 8.0.2 device.
johnhaitas commentedon Nov 4, 2014
The tiles do correctly load in my iOS 8 simulator. I can also confirm that the tiles do not correctly load on a 8.1 device. So the failure to load the tiles applies to iOS 8.x devices, but not iOS 8 simulators (Xcode 6.1)
also the sample application does correctly load tiles on a iOS 8 device
aolszak commentedon Nov 4, 2014
This could be useful information. Thx!
13 remaining items
rossbertsch commentedon Dec 10, 2014
@incanus just branched our project and tested this out. At a quick first glance it seems quite successful. No more error log and - I cant 100% confirm this yet - but our map tiles even appear to be rendering faster. I ran a couple time profiler tests on iPhone 5 iOS 8.1 that seemed to correlate with this. Are the default settings MBXRasterTileRenderer lower quality than the MKTileOverlayRenderer? I haven't fiddled with it that much yet but I'll report back when we are able to get some more testing in.
incanus commentedon Dec 10, 2014
Yeah @rossbertsch it's likely this seems faster, since there are 1/4 the network requests as
512pxtiles are being retrieved, then trimmed into four256pxtiles, then cached. Nice to hear! Thanks for checking it out.s219 commentedon Dec 10, 2014
Will try to test this week if I can. Thanks for working this out.
On 10.12.2014 09:33, Justin R. Miller wrote:
s219 commentedon Dec 16, 2014
Working excellent here, definitely faster as well. Thanks Justin!
Only hitch I ran into was Xcode fighting me on the weak reference assignment in “canDrawMapRect” of “MBXRasterTileRenderer.m”, line 101. I assume I need to set an option somewhere in my project’s build settings, but didn’t see anything different between my project and the sample project that should have mattered. If anybody has a suggestion, let me know. For now, I just brute forced it:
incanus commentedon Dec 16, 2014
Hmm, what warning do you see from that @s219? There is probably a build setting related to strong typing.
s219 commentedon Dec 16, 2014
See attached screenshot — Xcode was acting like it didn’t know what to do with "typeof(self)”. Once I manually defined weakSelf as MBXRasterTileRenderer it was fine.
On Dec 16, 2014, at 12:32 PM, Justin R. Miller [email protected] wrote:
Craig Hunter
Hunter Research and Technology LLC
http://hrtapps.com
[email protected]
gtasko commentedon Jan 15, 2015
I used pod 'MBXMapKit' in my podfile and I can't seem to find the MBXRasterTileRenderer.
Is there something I should check?
I get the : ImageIO: CGImageSourceCreateWithData data parameter is nil both in iPhone 6 simulator and iOS 8.1 iPhone 6 device.
Also, can I avoid the refresh that is doing when I drag the map around? I should use caching to improve performance?
Another problem is that we don't have access to set the accesstoken, will this introduce problems using a custom layout to MapKit?
incanus commentedon Jan 16, 2015
@gtasko This is not yet released (see #136; it's close) so you'll have to reference the
132-rendererbranch in yourPodfilein order to pull this in.gtasko commentedon Jan 16, 2015
OK, thanks, I'll wait for the release then.
Do you know about the setAccessToken question? Why the method is not exposed to the interface file?
incanus commentedon Jan 16, 2015
Yes, it's related. See the changelog. It will come back very soon with support for
v4. Right nowv3will automatically be used.gtasko commentedon Jan 16, 2015
OK, thanks for the response, we will wait for the next release version.
suraj-aahlaad commentedon Oct 23, 2015
How to calculate the size of the selected area of the map before downloading i am using MBXMapKit SDK any one can help me how to calculate the size of the map before downloading the map.