From 813ddc18464a9d796fe14938c837d462e7469299 Mon Sep 17 00:00:00 2001 From: Simas Toleikis Date: Wed, 7 Jun 2017 16:32:22 +0300 Subject: [PATCH] Document missing options.pitchWithRotate. --- src/ui/map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/map.js b/src/ui/map.js index 8f1e091eb6e..8dba6fbe331 100755 --- a/src/ui/map.js +++ b/src/ui/map.js @@ -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} [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