summaryrefslogtreecommitdiff
path: root/include/mbgl/map/camera.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/map/camera.hpp')
-rw-r--r--include/mbgl/map/camera.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/map/camera.hpp b/include/mbgl/map/camera.hpp
index 33722a0018..d5563b5ccf 100644
--- a/include/mbgl/map/camera.hpp
+++ b/include/mbgl/map/camera.hpp
@@ -10,7 +10,10 @@
namespace mbgl {
/** Various options for describing the viewpoint of a map. All fields are
- optional. */
+ optional.
+ Anchor and center points are mutually exclusive, with preference for the
+ center point when both are set.
+ */
struct CameraOptions {
/** Coordinate at the center of the map. */
optional<LatLng> center;