From 8aebed1cd65585fa5f4e83776fbf73825af74857 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Fri, 12 Oct 2018 12:03:45 +0200 Subject: [PATCH] Add intervals default to documentation --- src/ol/Graticule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/Graticule.js b/src/ol/Graticule.js index 34c7ab59cd..cdb82662b4 100644 --- a/src/ol/Graticule.js +++ b/src/ol/Graticule.js @@ -107,8 +107,8 @@ const INTERVALS = [ * Note that the default's `textAlign` configuration will not work well for * `latLabelPosition` configurations that position labels close to the left of * the viewport. - * @property {Array} [intervals] Intervals (in degrees) for the graticule. - * Example to limit graticules to 30 and 10 degrees intervals: + * @property {Array} [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]] + * Intervals (in degrees) for the graticule. Example to limit graticules to 30 and 10 degrees intervals: * ```js * [30, 10] * ```