heremaps / here-sdk-examples

Android, iOS and Flutter example apps for the HERE SDK 4.x (Lite Edition, Explore Edition, Navigate Edition)
https://developer.here.com/products/here-sdk
Apache License 2.0
170 stars 135 forks source link

flutter navigation edition how to adjust tilt while using DynamicCameraBehavior #345

Closed mohanve7 closed 1 week ago

mohanve7 commented 2 weeks ago

I was currently using DynamicCameraBehavior which auto adjust camera angles, i want to customize tilt angle when camera zooms in, how can i achieve this?

HERE-SDK-Support-Team commented 1 week ago

Hi @mohanve7, for any custom camera behavior it is possible to use the FixedCameraBehavior and update the values for tilt and zoom manually.

At the moment, there is no other option to customize how DynamicCameraBehavior will behave, except for adjusting the principal point.

Hope this helps!

Add on: It is also worth to mention that we have the SpeedBasedCameraBehavior, in which the user has fine control over tilt and zoom. Note that the VisualNavigator's camera behavior can be change at any time, including during navigation to provide custom animations.