Add intervals default to documentation
This commit is contained in:
@@ -107,8 +107,8 @@ const INTERVALS = [
|
|||||||
* Note that the default's `textAlign` configuration will not work well for
|
* Note that the default's `textAlign` configuration will not work well for
|
||||||
* `latLabelPosition` configurations that position labels close to the left of
|
* `latLabelPosition` configurations that position labels close to the left of
|
||||||
* the viewport.
|
* the viewport.
|
||||||
* @property {Array<number>} [intervals] Intervals (in degrees) for the graticule.
|
* @property {Array<number>} [intervals=[90, 45, 30, 20, 10, 5, 2, 1, 0.5, 0.2, 0.1, 0.05, 0.01, 0.005, 0.002, 0.001]]
|
||||||
* Example to limit graticules to 30 and 10 degrees intervals:
|
* Intervals (in degrees) for the graticule. Example to limit graticules to 30 and 10 degrees intervals:
|
||||||
* ```js
|
* ```js
|
||||||
* [30, 10]
|
* [30, 10]
|
||||||
* ```
|
* ```
|
||||||
|
|||||||
Reference in New Issue
Block a user