From f7d1a40350c6c9b3eb9e0879b13619d4c7ad1373 Mon Sep 17 00:00:00 2001 From: Brad Leege Date: Thu, 10 Dec 2015 11:04:26 -0800 Subject: [android] Camera API --- include/mbgl/map/camera.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/mbgl/map') diff --git a/include/mbgl/map/camera.hpp b/include/mbgl/map/camera.hpp index dd9e0a0f56..184ee87464 100644 --- a/include/mbgl/map/camera.hpp +++ b/include/mbgl/map/camera.hpp @@ -12,11 +12,11 @@ namespace mbgl { struct CameraOptions { - mapbox::util::optional center; - mapbox::util::optional zoom; - mapbox::util::optional angle; - mapbox::util::optional pitch; - mapbox::util::optional duration; + mapbox::util::optional center; // Map center (Degrees) + mapbox::util::optional zoom; // Map zoom level Positive Numbers > 0 and < 18 + mapbox::util::optional angle; // Map rotation bearing in Radians counter-clockwise from north. The value is wrapped to [−π rad, π rad] + mapbox::util::optional pitch; // Map angle in degrees at which the camera is looking to ground (Radians) + mapbox::util::optional duration; // Animation time length (Nanoseconds) mapbox::util::optional speed; mapbox::util::optional curve; mapbox::util::optional easing; -- cgit v1.2.1