mapbox-maps-ios
mapbox-maps-ios copied to clipboard
Snapshotter `pointForCoordinate` incorrect when using style with built in terrain.
Environment
- Xcode version: 15.4
- iOS version: 17.4
- Devices affected: (known) iPhone 14 Pro, Simulators
- Maps SDK Version: 11.4.0
Observed behavior and steps to reproduce
Expected behavior
In this case, the produced image should show the intended line at the correct location regardless of map style.
Notes / preliminary analysis
Calling snapshotter.removeTerrain()
after the style has loaded and before starting the image generation was sufficient to work around this issue.