Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

iPhone 4s and 5 Simulator doesn't render map labels #12070

Closed
nole87 opened this issue Jun 6, 2018 · 15 comments
Closed

iPhone 4s and 5 Simulator doesn't render map labels #12070

nole87 opened this issue Jun 6, 2018 · 15 comments
Labels
bug Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS

Comments

@nole87
Copy link

nole87 commented Jun 6, 2018

Platform: iOS
Mapbox SDK version: 4.0.2

Steps to trigger behavior

  1. Run any app with mapbox SDK for iOS on iphone 4s or 5 simulator no matter of iOS version

Expected behavior

Maps should have text labels

Actual behavior

Text labels are black without texts
4s
5

@fabian-guerra
Copy link
Contributor

Hi, @nole87. Thank you for using Mapbox. I'm running the app on an iPhone 4s simulator, and I don't notice the issue you mention.

labels

Could you please post a code snippet or test app we could use to track down the issue?

@fabian-guerra fabian-guerra added iOS Mapbox Maps SDK for iOS needs information labels Jun 6, 2018
@julianrex
Copy link
Contributor

Just noting that this sounds similar to #11946

@sigis151
Copy link

sigis151 commented Jun 8, 2018

I have similar issues with Android emulator as well
emulator
this is screenshot from 6.1.3 sdk version

@nole87
Copy link
Author

nole87 commented Jun 10, 2018

Sorry for my late response, I don't get any email about comments. I try again in new test app. I just follow https://www.mapbox.com/install/ios/ and on 4s simulator look picture. I try to upload project but github says "Yowza, that's a big file"
screen

@nole87
Copy link
Author

nole87 commented Jun 21, 2018

Any response about this bug?

@julianrex
Copy link
Contributor

julianrex commented Jun 21, 2018

@sigis151 We're tracking the Android issue in #10829

@nole87 For iOS - we're still investigating. We have just released v4.1.0 - can you try again? Which version of Xcode are you using?

EDIT: Confirmed I see this too running on iPhone 4S, iPhone 5 simulators.

@nole87
Copy link
Author

nole87 commented Jun 21, 2018

newest one xcode, I try 4.1 SDk but I can download pod yet ... I will try tomorrow 4.1

@julianrex
Copy link
Contributor

@nole87 I've recreated your scenario. This may be related to the Android issue, but not confirmed yet.

@julianrex
Copy link
Contributor

For reference - this does not occur on iPhone 5 hardware (running 9.3)

@nole87
Copy link
Author

nole87 commented Jun 21, 2018

sdk 4.0.2 iPhone simulator 9.3

untitled

@nole87
Copy link
Author

nole87 commented Jun 24, 2018

4.1 sdk iOS 9.3 still same on simulator, I don't have real iPhone below 6 series to try it ...
iphone 4s
iphone 5

@1ec5 1ec5 added the Core The cross-platform C++ core, aka mbgl label Jul 3, 2018
@nole87
Copy link
Author

nole87 commented Jul 20, 2018

What about this. I just try SDK 4.2 but it's same, no text labels only black rectangles ...

@julianrex
Copy link
Contributor

@nole87 unfortunately we don't have an update at this time (other than this appears to be a simulator-only issue).

@nole87
Copy link
Author

nole87 commented Jul 20, 2018

Great to hear it's just simulator :)

I am in hurry to publish my app, maybe it's not right place to ask but I need to add padding to user location. In android there is that. In iOS I find mapView.setUserLocationVerticalAlignment(MGLAnnotationVerticalAlignment.bottom, animated: true) but not good enough for my app, I need like in android to set padding in points...

Also, self.mapView.setUserTrackingMode(.followWithCourse, animated: true) when before this line user location is fixed with: mapView.setUserTrackingMode(.follow, animated: true) which is my case than map heading is set hard without animation ... it's bad user experience ...

@friedbunny friedbunny changed the title iPhone 4s and 5 doesn't render map labels iPhone 4s and 5 Simulator doesn't render map labels Jul 20, 2018
@friedbunny
Copy link
Contributor

While this does easily reproduce on the iPhone 5 Simulator (iOS 9.3) using Xcode 9, I can confirm that it does not happen on a physical iPhone 5 (iOS 9.3.5) when running ios-v4.2.0:

img_3591

Though inconvenient, this is an upstream issue that is 1. likely beyond our control, and 2. does not affect end-users. To that end, I’m going to close this as “(probably) won’t fix”.

@nole87 See #12203.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

6 participants