Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 05e8194

Browse files
committed
update across antimeridian mock
- to 🔒 west <-> east antimeridian crossings
1 parent a3df09e commit 05e8194

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed
3.13 KB
Loading

test/image/mocks/geo_across-antimeridian.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"data": [
33
{
44
"type": "scattergeo",
5+
"mode": "markers+lines",
56
"lon": [170, 180, -180, -170],
67
"lat": [-50, -45, -10, -20.5],
78
"marker": { "size": 20 }
@@ -14,10 +15,23 @@
1415
},
1516
{
1617
"type": "scattergeo",
17-
"lon": [170, 180, -180, -170],
18-
"lat": [-50, -45, -10, -20.5],
18+
"mode": "markers+lines",
19+
"lon": [-170, 170],
20+
"lat": [-50, -20.5],
1921
"marker": { "size": 20 },
20-
"geo": "geo2"
22+
"line": { "width": 5 },
23+
"geo": "geo2",
24+
"name": "west to east"
25+
},
26+
{
27+
"type": "scattergeo",
28+
"mode": "markers+lines",
29+
"lon": [170, -170],
30+
"lat": [-50, -20.5],
31+
"marker": { "size": 20 },
32+
"line": { "width": 5 },
33+
"geo": "geo2",
34+
"name": "east to west"
2135
},
2236
{
2337
"type": "choropleth",

0 commit comments

Comments
 (0)