Skip to content

Commit bf8771a

Browse files
committed
fixup mock - properties have title not title.text
1 parent efe3802 commit bf8771a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Loading

test/image/mocks/mapbox_geojson-attributes.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"type": "Feature",
2525
"geometry": {
2626
"type": "LineString",
27-
"coordinates": [[-0.5, 52], [0.5, 50]]
27+
"coordinates": [[0.25, 52], [0.75, 50]]
2828
},
2929
"properties": {
30-
"title": {"text": "Line Text Example"}
30+
"title": "Line Text Example"
3131
}
3232
}
3333
]
@@ -39,7 +39,7 @@
3939
"symbol": {
4040
"text": "{title}",
4141
"textfont": {
42-
"size": 10,
42+
"size": 20,
4343
"color": "red"
4444
},
4545
"iconsize": 0,
@@ -52,19 +52,19 @@
5252
"type": "Feature",
5353
"geometry": {
5454
"type": "LineString",
55-
"coordinates": [[-0.5, 52], [0.5, 50]]
55+
"coordinates": [[0.25, 52], [0.75, 50]]
5656
},
5757
"properties": {
58-
"title": {"text": "Line Text Example"}
58+
"title": "Line Text Example"
5959
}
6060
}
6161
]
6262
}
6363
}
6464
],
65-
"zoom": 5,
65+
"zoom": 6,
6666
"center": {
67-
"lon": 0,
67+
"lon": 0.5,
6868
"lat": 51
6969
}
7070
},

0 commit comments

Comments
 (0)