Maps: [Android]: Map zoom isn't smooth like iOS, very choppy?

Created on 24 May 2019  路  10Comments  路  Source: react-native-mapbox-gl/maps

We've been using react native mapbox for awhile and still haven't quite figured out to why the android map experience is pretty subpar to how the iOS experience handles zoom on the map.

When users zoom with the iOS version it's smooth. However on android it seems like it has slow fps and the zoom doesn't seem to be elastic.

What I mean by elastic is when you zoom out or zoom in on say react native maps, the action of zooming doesn't stop when you take your fingers off the screen. But with mapbox is seems to perform some sort of elastic animation then abruptly stops (on android), making the zooming experience feel a bit choppy and not as good as iOS...

wontfix

Most helpful comment

I've also noticed a delay in starting the zoom... it's like a threshold of pinching needs to happen before it then "kicks in" which adds to the perceived jutter/lag for zooming... is that something anyone else has noticed? (this is on android)

All 10 comments

@spotelf13 We've experienced the same issue on Android platform. Im wondering if some experienced users understand what might be slowing down the Android version of RNMapbox? For example, are there specific features that could result in a slowdown on the Android version?

We're using 6.1.4 from the old repo and are exclusively on android (atm).
I've never experienced any choppiness or lag in map zooms I have to admit. Maybe it's just the lack of comparison...

Neither programmatic zooms nor manual zooms cause any lags.

Disclaimer:

  • we're using HERE map tiles to render our map.
  • we're FollowingWithCourse
  • we're rendering three layers that draw an individual circle for the destination & a linePath for the route

It would be great to clarify those:
1.) is this issue only affects the new repo?
2.) is this issue only affects the RN version of mapbox-gl-native or can it be reproed on the android mapbox gl native example app?

I've also noticed a delay in starting the zoom... it's like a threshold of pinching needs to happen before it then "kicks in" which adds to the perceived jutter/lag for zooming... is that something anyone else has noticed? (this is on android)

Yes, I see that as well.

I've browsed mapbox-gl-native repo the other day, and I have a suspicion that it's a combination of https://github.com/mapbox/mapbox-gl-native/issues/14136 and just low FPS.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

i think this should be reopened 馃槩

Yes. It's very choppy. Any solution or workaround?

There is no workarounds for us on this side. Any requests for enhancements should be posted at https://github.com/mapbox/mapbox-gl-native/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fvieira picture fvieira  路  4Comments

RichardLindhout picture RichardLindhout  路  4Comments

peterleng picture peterleng  路  4Comments

dorthwein picture dorthwein  路  3Comments

bartolkaruza picture bartolkaruza  路  3Comments