diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-23 22:47:40 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-26 17:15:51 +0200 |
commit | 52cce7925d32181a20a79978479c5552fa6ae810 (patch) | |
tree | 4b932205bcc6eab2b61cdec72068a2871d3dd132 /include/mbgl/map | |
parent | 82be3104cd40372e6f99284ff0fccd1e3879fd1d (diff) | |
download | qtlocation-mapboxgl-52cce7925d32181a20a79978479c5552fa6ae810.tar.gz |
[core] Camera center and anchor points are mutually exclusive
Diffstat (limited to 'include/mbgl/map')
-rw-r--r-- | include/mbgl/map/camera.hpp | 5 |
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; |