Kiryl Dzehtsiarenka
Kiryl Dzehtsiarenka
Hi @lcf001 , did you set up valid Mapbox access token? https://docs.mapbox.com/android/maps/overview/#install-the-maps-sdk
@Christophe668 can you share the code how you're changing the camera, please?
We would appreciate more details (code snippet, context when it did happen etc). Otherwise it's hard to say what's the root cause.
> > > > [maps-android\Mbgl-CameraManager]: Error while setting camera options : std::exception CameraOptions = [center: Point{type=Point, bbox=null, coordinates=[121.35212215686254, 30.83403121648117]}, padding: , anchor: [x: 640.9468382199606, y: 317.0736328522364], zoom: , bearing: ,...
@paulrenn67 I added `bug` label - `verify-code` will not pass then until you add the changelog entry. However in your case it's failing because of `ktlint` as well. Could you...
Unit tests are failing with `ClassCastException`s...
@tobrun is it a bug or a feature of v10? 😄
@daniel-j-h you have precise control of min / max zoom / pitch level + bound area by using `mapboxMap.setBounds(CameraBoundsOptions)` function.
Could be closed as the approach was revisited in https://github.com/mapbox/mapbox-maps-android/pull/1638.
@akirmse would be grateful if you could specify SDK version you're using and also provide exact `CameraOptions` for the location you shared in video. I tried to do the same...