Added wrapX option on graticule
This commit is contained in:
1 parent
c69366ec0a
commit
94bcb8a0f6
2 files changed
+5
-2
No files matched your search
@@ -128,6 +128,7 @@ const INTERVALS = [
|
||||
* ```js
|
||||
* [30, 10]
|
||||
* ```
|
||||
* @property {boolean} [wrapX=true] Whether to repeat the graticule horizontally.
|
||||
*/
|
||||
|
||||
|
||||
@@ -388,7 +389,8 @@ class Graticule extends VectorLayer {
|
||||
strategy: bbox,
|
||||
features: new Collection(),
|
||||
overlaps: false,
|
||||
useSpatialIndex: false
|
||||
useSpatialIndex: false,
|
||||
wrapX: options.wrapX
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user