Skip to content

Commit d7d1c15

Browse files
committed
Fix tests: explicitly set minzoom/maxzoom in test style geojson sources
Behaviour changed slightly in #919. Explicitly opt out by setting min/maxzoom to keep old simplification behaviour, to keep pixel identical test results.
1 parent a520d12 commit d7d1c15

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

jvm/src/test/resources/styles/multisprite/style.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"name": "test-sprites",
88
"sources": {
99
"test_label": {
10+
"minzoom": 0,
11+
"maxzoom": 0,
1012
"type": "geojson",
1113
"data": {
1214
"type": "FeatureCollection",
@@ -371,4 +373,4 @@
371373
"duration": 0,
372374
"delay": 0
373375
}
374-
}
376+
}

jvm/src/test/resources/styles/style_geojson_ch_label.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"sources": {
1414

1515
"test_label": {
16+
"minzoom": 0,
17+
"maxzoom": 0,
1618
"type": "geojson",
1719
"data": {
1820
"type": "FeatureCollection",

0 commit comments

Comments
 (0)