Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #3244 - Adding to CameraOptions.angle definition
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed Dec 17, 2015
1 parent d030bfc commit 054433a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mbgl/map/camera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace mbgl {
struct CameraOptions {
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 (Radians)
mapbox::util::optional<double> angle; // Map rotation bearing in Radians counter-clockwise from north. The value is wrapped to [−π rad, π rad]

This comment has been minimized.

Copy link
@1ec5

1ec5 Dec 17, 2015

Contributor

Nit: The usual Doxygen syntax for a documentation comment on the same line as the symbol but after the symbol is //!< or ///<.

This comment has been minimized.

Copy link
@1ec5

1ec5 Dec 18, 2015

Contributor

Also, it's ), not ]. mbgl::util::wrap() excludes the upper bounds.

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;
Expand Down

0 comments on commit 054433a

Please sign in to comment.