mapbox-maps-ios
mapbox-maps-ios copied to clipboard
MapboxMap and Snapshotter camera(for:padding:bearing:pitch:) methods don't set padding
Environment
- Xcode version: 15.3
- iOS version: 16.x, 17.x
- Maps SDK Version: 11.3.0
Observed behavior and steps to reproduce
When using the camera(for:padding:bearing:pitch:)
Methods of MapboxMap
or Snapshotter
, the padding in the CameraOptions
is always nil.
Expected behavior
The padding should not be nil if it has been set with these methods.
Notes / preliminary analysis
As a workaround, when setting the padding property manually after creating the CameraOptions
, everything works as intended.