Skip to content

Commit 84786a4

Browse files
sakrolekgithub-actions[bot]
authored andcommitted
Add render test for icon-size applied to an icon with a small stretch area
GitOrigin-RevId: 876da8c45b84b53534b96371cfc97dd198cfc00b
1 parent 562041f commit 84786a4

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

test/ignores/all.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ const skip = [
137137
// Current behavior is arbitrary
138138
"render-tests/geojson/inline-linestring-fill",
139139

140+
// Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3407
141+
"render-tests/icon-size/small-stretch-area",
142+
140143
// Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3448
141144
"render-tests/icon-size/depends-on-coalesce-image",
142145
"render-tests/appearance/icon-size-depends-on-coalesce-image",
1.82 KB
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"version": 8,
3+
"metadata": {
4+
"test": {
5+
"width": 256,
6+
"height": 256
7+
}
8+
},
9+
"sources": {
10+
"geojson": {
11+
"type": "geojson",
12+
"data": {
13+
"type": "Point",
14+
"coordinates": [
15+
0,
16+
0
17+
]
18+
}
19+
}
20+
},
21+
"sprite": "local://sprites/rect",
22+
"layers": [
23+
{
24+
"id": "background",
25+
"type": "background",
26+
"paint": {
27+
"background-color": "rgba(255, 255, 255, 1)"
28+
}
29+
},
30+
{
31+
"id": "symbol",
32+
"type": "symbol",
33+
"source": "geojson",
34+
"layout": {
35+
"icon-image": "rect",
36+
"icon-size": 3
37+
}
38+
}
39+
]
40+
}

0 commit comments

Comments
 (0)