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 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Can't find sprite named 'com.mapbox.sprites.USTATION' #2326
This works initially and displays subway entrances on the map. When i enable the real estate map which draws multiple polygons on the map the subway entrances disappear and the console log is spammed with the following message:
[INFO] {Worker}[Sprite]: Can't find sprite named 'com.mapbox.sprites.USTATION'
Is this a bug or am i doing it wrong? I'm currently at 8f37502.
I'm returning UIImages to MapBox using the following method:
Are you using the reuse identifier or returning a new UIImage for each annotation? If the latter, here is the recommended flow which checks if the resource can be reused.
When i enable the real estate map which draws multiple polygons on the map
I was returning a new UIImage for each annotation but i just changed it to leverage the reuse mechanism MapBox is offering. I still get the error message and the annotations still disappear though.
The real estate "map" is a bunch of shape annotations, but we do change the style (sorry).
@friedbunny: we're seeing this issue ios-v2.1.2 both when following the reuse flow and when setting a new UIImage for each annotation.
Annotations load correctly on initial launch of the app, but if the app is closed and reopened, all loaded annotations disappear. If I pan to a new area with a new annotation not loaded during the previous launch, this new annotation will show – only to disappear on the next app launch.
Activity
friedbunny commentedon Sep 15, 2015
Are you using the reuse identifier or returning a new
UIImagefor each annotation? If the latter, here is the recommended flow which checks if the resource can be reused.Is this a different style?
maciekish commentedon Sep 16, 2015
I was returning a new UIImage for each annotation but i just changed it to leverage the reuse mechanism MapBox is offering. I still get the error message and the annotations still disappear though.
The real estate "map" is a bunch of shape annotations, but we do change the style (sorry).
Here is what happens: http://s.swic.name/d7M6
And here is my new code:
imageForPOIType:useslocation.firstPOIStringinternally so they always match up.kristfal commentedon Sep 16, 2015
@friedbunny: we're seeing this issue ios-v2.1.2 both when following the reuse flow and when setting a new
UIImagefor each annotation.Annotations load correctly on initial launch of the app, but if the app is closed and reopened, all loaded annotations disappear. If I pan to a new area with a new annotation not loaded during the previous launch, this new annotation will show – only to disappear on the next app launch.
friedbunny commentedon Sep 16, 2015
I wonder if this is a regression from #2289, @incanus?
robipresotto commentedon Sep 16, 2015
+1
incanus commentedon Sep 17, 2015
Changing the style as you do in your video sounds like it is actually triggering #1488, a known issue.
maciekish commentedon Sep 17, 2015
I forgot that we switch to satellite mode which is a different style, sorry!