Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document missing options.pitchWithRotate #4800

Merged
merged 1 commit into from
Jun 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ui/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const defaultOptions = {
* @param {number} [options.bearingSnap=7] The threshold, measured in degrees, that determines when the map's
* bearing (rotation) will snap to north. For example, with a `bearingSnap` of 7, if the user rotates
* the map within 7 degrees of north, the map will automatically snap to exact north.
* @param {boolean} [options.pitchWithRotate=true] If `false`, the map's pitch (tilt) control with "drag to rotate" interaction will be disabled.
* @param {Array<string>} [options.classes] Mapbox style class names with which to initialize the map.
* Keep in mind that these classes are used for controlling a style layer's paint properties, so are *not* reflected
* in an HTML element's `class` attribute. To learn more about Mapbox style classes, read about
Expand Down