mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Bearing image of puck-2d is very sluggish

Open georgbachmann opened this issue 3 years ago • 7 comments

Environment

  • Xcode version: 13.3
  • iOS version: 15.4.1
  • Devices affected: All
  • Maps SDK Version: 10.4.1

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?

georgbachmann avatar Apr 01 '22 08:04 georgbachmann

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

nryrk avatar Apr 19 '22 06:04 nryrk

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

skienzl avatar Apr 25 '22 06:04 skienzl

@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 avatar May 02 '22 07:05 georgbachmann

@ZiZasaurus any update on this issue?

georgbachmann avatar Jun 27 '22 06:06 georgbachmann

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

ZiZasaurus avatar Aug 01 '22 17:08 ZiZasaurus