You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
no problem when i try to get the value with a location update (1 sec interval)
let currentZoomLevel = mapView.cameraState.zoom
print("ZOOM: (zoom)")
i get an output with the current zoom level every second
but when i try to get the the zoom level with a triggered action i get nil
Expected behavior
Get the current zoom level of the mapview.
Actual behavior
Got nil.
Configuration
Mapbox SDK versions:
maps Using Mapbox Core Maps SDK v10.2.0@f5a8bbfb64 and Mapbox Common SDK v21.0.1
iOS/macOS versions:
15.3.1
Xcode version:
13.2.1
The text was updated successfully, but these errors were encountered:
Steps to reproduce
no problem when i try to get the value with a location update (1 sec interval)
let currentZoomLevel = mapView.cameraState.zoom
print("ZOOM: (zoom)")
i get an output with the current zoom level every second
but when i try to get the the zoom level with a triggered action i get nil
Expected behavior
Get the current zoom level of the mapview.
Actual behavior
Got nil.
Configuration
Mapbox SDK versions:
maps Using Mapbox Core Maps SDK v10.2.0@f5a8bbfb64 and Mapbox Common SDK v21.0.1
iOS/macOS versions:
15.3.1
Xcode version:
13.2.1
The text was updated successfully, but these errors were encountered: