summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2015-12-10 11:04:26 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-12-18 11:33:40 -0800
commitf7d1a40350c6c9b3eb9e0879b13619d4c7ad1373 (patch)
tree4ba564387e8087bd0501b549f7de06e30ef27e0c /include
parente2ad0e008a404b27314d4a2892d733f2f13656bf (diff)
downloadqtlocation-mapboxgl-f7d1a40350c6c9b3eb9e0879b13619d4c7ad1373.tar.gz
[android] Camera API
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/camera.hpp10
1 files changed, 5 insertions, 5 deletions
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<LatLng> center;
- mapbox::util::optional<double> zoom;
- mapbox::util::optional<double> angle;
- mapbox::util::optional<double> pitch;
- mapbox::util::optional<Duration> duration;
+ mapbox::util::optional<LatLng> center; // Map center (Degrees)
+ mapbox::util::optional<double> zoom; // Map zoom level Positive Numbers > 0 and < 18
+ mapbox::util::optional<double> angle; // Map rotation bearing in Radians counter-clockwise from north. The value is wrapped to [−π rad, π rad]
+ mapbox::util::optional<double> pitch; // Map angle in degrees at which the camera is looking to ground (Radians)
+ mapbox::util::optional<Duration> duration; // Animation time length (Nanoseconds)
mapbox::util::optional<double> speed;
mapbox::util::optional<double> curve;
mapbox::util::optional<mbgl::util::UnitBezier> easing;