mapbox / mapbox-maps-ios

Interactive, thoroughly customizable maps for iOS powered by vector tiles and Metal
https://www.mapbox.com/mapbox-mobile-sdk
Other
479 stars 156 forks source link

Bearing image of puck-2d is very sluggish #1230

Open georgbachmann opened 2 years ago

georgbachmann commented 2 years ago

Environment

Observed behavior and steps to reproduce

        mapView.location.options.puckType = .puck2D(.init(topImage: nil,
                                                          bearingImage: .init(named: "UserLocation"),
                                                          shadowImage: nil)

If you use a pick-type of 2D an also set a bearing image, that will rotate when the user rotates his phone. This in general is very good. The problem though is that it is very sluggish. So it seems like it animates (?) to the users bearing with a quite long duration. Compared to the animation there is in the stocks iOS maps app, it is super slow.

Expected behavior

The bearing image change much snappier. Maybe even without animation?

nryrk commented 2 years ago

Sub. I have exactly the same issue and would appreciate it if that could be fixed in the next version ☺️

skienzl commented 2 years ago

Any news on this one? I am having the same issue

georgbachmann commented 2 years ago

@ZiZasaurus may I also ask about that issue here? I think it's something that Android had as well but is already fixed there?!?

georgbachmann commented 2 years ago

@ZiZasaurus any update on this issue?

ZiZasaurus commented 2 years ago

@georgbachmann, this behavior exists on android as well. I have brought it to the team and we will investigate the root cause.

bpepper88 commented 1 month ago

Any update on this ? Using version 11.6.0 of com.mapbox.maps:android and com.mapbox.extension:maps-compose. Issue still present on Android.

aleksproger commented 1 month ago

@bpepper88 if you see this on Android may you please instead create an issue in Android repository