Camera Control
Camera Control
This document describes how to interact with Telenav's MapView Camera Controller, including:
- Camera position information: such as getting/setting the center position, the region of importance, and the bearing and tilt of the camera.
- Camera behavioral settings: such as following the vehicle in navigation and the user-touch interaction modes (pinch, rotate, and pan).
The camera's positional settings
These are managed via the Camera.Builder class. There are no default settings. Only the settings set in the builder will update.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Instructing the camera to enter into a vehicle-following mode is done via a simple enable/disable API pair.
1 2 3 4 5 |
|
1 2 3 4 5 |
|
Setting the user-touch interaction behavior:
1 |
|
1 |
|
Warning
Document is still in progress