GeezerVison is showing github.com — Add render test for icon-size applied to an icon with a small stretch… · mapbox/mapbox-gl-js@84786a4
File tree
Expand file treeCollapse file tree
Open diff view settings
integration/render-tests/icon-size/small-stretch-area
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/ignores/all.js +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -137,6 +137,9 @@ const skip = [ |
137 | 137 | // Current behavior is arbitrary |
138 | 138 | "render-tests/geojson/inline-linestring-fill", |
139 | 139 |
|
| 140 | + // Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3407 |
| 141 | + "render-tests/icon-size/small-stretch-area", |
| 142 | + |
140 | 143 | // Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3448 |
141 | 144 | "render-tests/icon-size/depends-on-coalesce-image", |
142 | 145 | "render-tests/appearance/icon-size-depends-on-coalesce-image", |
|
Collapse file
Copy file name to clipboard 1.82 KB
- Display the source diff
- Display the rich diff
Collapse file
Copy file name to clipboard +40Lines changed: 40 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 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 | +} |