Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map is freezing when camera moves away from high number of points for any versions greater than 10.18.2 #2288

Open
mcastets opened this issue Feb 2, 2025 · 4 comments
Labels
bug 🪲 Something is broken!

Comments

@mcastets
Copy link

mcastets commented Feb 2, 2025

Environment

  • Xcode version: 16.1
  • iOS version: 17.2 / 18.1.1
  • Devices affected: Simulator (iPhone SE 3rd Generation) and physical device (iPhone 12 mini)
  • Maps SDK Version: 10.19.2

Observed behavior and steps to reproduce

I cannot upgrade to v11 nor 10.19.2 version as map freezes for a few seconds when cameras moves to another location and while there were many symbol layers / points displayed (5k).

10.18.2: correct ✅

mapbox-ios-sim-10.18.2.mov

10.19.2: lag issue 🔴

mapbox-ios-sim-10.19.2.mov

No GPS / location services have been turned on.

Obviously, no code has changed but the mapbox iOS SDK version.

Note

I'm using a ShapeSource, filled from a FeatureCollection, along with SymbolLayer to display this high amount of points.

Expected behavior

I'd like the performance remains the same when upgrading from 10.18.2

@mcastets mcastets added the bug 🪲 Something is broken! label Feb 2, 2025
@OdNairy
Copy link
Contributor

OdNairy commented Feb 3, 2025

Thanks for the report.
The internal ticket number is MAPSNAT-2714

@zmiao
Copy link
Contributor

zmiao commented Feb 3, 2025

Hey @mcastets thanks for reporting the issue, as you mentioned

I cannot upgrade to v11 nor 10.19.2 version as map freezes for a few seconds when cameras moves to another location and while there were many symbol layers / points displayed (5k).

Does it mean you've experienced the same issue with v11 SDK? if so, could you please provide the version you were trying to upgrade to?

@mcastets
Copy link
Author

mcastets commented Feb 3, 2025

Hi @zmiao, thank you for reaching out.

Does it mean you've experienced the same issue with v11 SDK?

Yes, I've tried v11.8.0 and v11.9.1 with no luck.

@zmiao
Copy link
Contributor

zmiao commented Feb 3, 2025

@mcastets thank you for confirming it. Is that possible for you to provide us with a minimal reproducible example, this will fasten the investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

3 participants