Skip to content

Commit

Permalink
Document missing options.pitchWithRotate.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simas Toleikis authored and jfirebaugh committed Jun 7, 2017
1 parent 84cc4a9 commit 813ddc1
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 813ddc1

Please sign in to comment.