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

Poor map performance with many markers/layers #969

Closed
Bubu opened this issue Oct 30, 2019 · 5 comments · Fixed by #1977
Closed

Poor map performance with many markers/layers #969

Bubu opened this issue Oct 30, 2019 · 5 comments · Fixed by #1977

Comments

@Bubu
Copy link
Contributor

Bubu commented Oct 30, 2019

The map view in the WeShare app is unusably slow to respond. It seems to do lot's of stuff in the UI thread.
On a phone with play services the app works fine.

So this is most likely some of the overlay things that are slow here. The map works fine until the car POIs are loaded then it stops responding to input after scroll/zoom for a couple of seconds.

image

You can also watch the progress of the poi clustering algorithm... it takes a couple of seconds when there's a lot going on on the map 🙈

@Nesaijn
Copy link

Nesaijn commented Nov 10, 2019

Seems to be the same with the car2go app

@Bubu
Copy link
Contributor Author

Bubu commented May 25, 2021

Working hypothesis from @mar-v-in:

Too many map layers (one for every marker by default) slow down mapbox to a crawl. Could potentially be solved by merging same z-level markers into one layer.

@ildar
Copy link

ildar commented Aug 16, 2021

Is mapbox/mapbox-gl-native#2444 in the mapbox release that MicroG's using? Mapbox guys say it improves the performance.

@ghost
Copy link

ghost commented Oct 7, 2021

I think it will be good to change the title of the issue to something like "Poor map performance in apps". Because this issue is not about only WeShare app anymore.

I have the same issue in EQInfo ( https://play.google.com/store/apps/details?id=de.gempa.android.eqinfo&hl=en_US&gl=US ).

When there is displayed not so much earthquakes, then performance is good. But with thousands of them map becomes slower. Especially when I'm changing its scale.
Image_0
Image_1

@Bubu Bubu changed the title Map in WeShare app unusably slow Poor map performance with many markers/layers Oct 7, 2021
@mlell
Copy link

mlell commented Oct 26, 2022

Still a problem in 20221. Car/Bike sharing apps like Jelbi (Berlin) or Lime are barely usable (Fairphone 3, Android 10, microG 0.2.24.214816-48)
———
1 Of course I know and acknowledge that this is free time work by other people, just in case this sounds unfriendly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants