Skip to content

Commit 9d1dc65

Browse files
committed
[fix] Set leaflet worldCopyJump to true by default #373
Fixes #373
1 parent e506d85 commit 9d1dc65

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/js/netjsongraph.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ const NetJSONGraphDefaultConfig = {
165165
mapOptions: {
166166
roam: true,
167167
zoomAnimation: false,
168+
worldCopyJump: true,
168169
minZoom: 3,
169170
maxZoom: 18,
170171
nodeConfig: {

test/netjsongraph.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ describe("NetJSONGraph Specification", () => {
120120
const NetJSONGraphMapOptions = {
121121
roam: true,
122122
zoomAnimation: false,
123+
worldCopyJump: true,
123124
minZoom: 3,
124125
maxZoom: 18,
125126
nodeConfig: {

0 commit comments

Comments
 (0)