File tree Expand file tree Collapse file tree 9 files changed +220
-0
lines changed
integration/render-tests/appearance
empty-image-in-appearance
non-existent-image-in-appearance Expand file tree Collapse file tree 9 files changed +220
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,12 @@ const skip = [
144144 "render-tests/icon-size/depends-on-coalesce-image" ,
145145 "render-tests/appearance/icon-size-depends-on-coalesce-image" ,
146146
147+ // Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3482
148+ "render-tests/appearance/empty-image-in-appearance" ,
149+ "render-tests/appearance/icon-text-fit-vertical/non-existent-image" ,
150+ "render-tests/appearance/icon-text-fit-vertical/zero-icon-size" ,
151+ "render-tests/appearance/non-existent-image-in-appearance" ,
152+
147153 // Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3474
148154 "render-tests/appearance/icon-text-fit-vertical/other-image" ,
149155
Original file line number Diff line number Diff line change 1+ {
2+ "version" : 8 ,
3+ "metadata" : {
4+ "test" : {
5+ "height" : 32 ,
6+ "width" : 32
7+ }
8+ },
9+ "camera" : {"camera-projection" : " orthographic" },
10+ "sources" : {
11+ "geojson" : {
12+ "type" : " geojson" ,
13+ "data" : {
14+ "type" : " FeatureCollection" ,
15+ "features" : [
16+ {
17+ "type" : " Feature" ,
18+ "geometry" : {
19+ "type" : " Point" ,
20+ "coordinates" : [
21+ 0 ,
22+ 0
23+ ]
24+ }
25+ }
26+ ]
27+ }
28+ }
29+ },
30+ "sprite" : " local://sprites/sprite" ,
31+ "layers" : [
32+ {
33+ "id" : " icon" ,
34+ "type" : " symbol" ,
35+ "source" : " geojson" ,
36+ "layout" : {
37+ "icon-image" : " bank-12"
38+ },
39+ "appearances" : [
40+ {
41+ "name" : " test" ,
42+ "condition" : true ,
43+ "properties" : {
44+ "icon-image" : " "
45+ }
46+ }
47+ ]
48+ }
49+ ]
50+ }
Original file line number Diff line number Diff line change 1+ {
2+ "version" : 8 ,
3+ "metadata" : {
4+ "test" : {
5+ "width" : 32 ,
6+ "height" : 64
7+ }
8+ },
9+ "sources" : {
10+ "geojson" : {
11+ "type" : " geojson" ,
12+ "data" : {
13+ "type" : " FeatureCollection" ,
14+ "features" : [{
15+ "type" : " Feature" ,
16+ "properties" : {
17+ "anchor" : " center"
18+ },
19+ "geometry" : {
20+ "type" : " Point" ,
21+ "coordinates" : [ 0 , 0 ]
22+ }
23+ }]
24+ }
25+ }
26+ },
27+ "sprite" : " local://sprites/stretch" ,
28+ "glyphs" : " local://glyphs/{fontstack}/{range}.pbf" ,
29+ "layers" : [
30+ {
31+ "id" : " icons" ,
32+ "type" : " symbol" ,
33+ "source" : " geojson" ,
34+ "layout" : {
35+ "text-field" : " ホテル" ,
36+ "text-font" : [
37+ " literal" ,
38+ [
39+ " NotoCJK"
40+ ]
41+ ],
42+ "text-writing-mode" : [" vertical" ],
43+ "icon-text-fit" : " both" ,
44+ "icon-image" : " nine-part-content"
45+ },
46+ "appearances" : [
47+ {
48+ "name" : " test" ,
49+ "condition" : true ,
50+ "properties" : {
51+ "icon-image" : " non-existent"
52+ }
53+ }
54+ ]
55+ }
56+ ]
57+ }
Original file line number Diff line number Diff line change 1+ {
2+ "version" : 8 ,
3+ "metadata" : {
4+ "test" : {
5+ "width" : 32 ,
6+ "height" : 64
7+ }
8+ },
9+ "sources" : {
10+ "geojson" : {
11+ "type" : " geojson" ,
12+ "data" : {
13+ "type" : " FeatureCollection" ,
14+ "features" : [{
15+ "type" : " Feature" ,
16+ "geometry" : {
17+ "type" : " Point" ,
18+ "coordinates" : [ 0 , 0 ]
19+ }
20+ }]
21+ }
22+ }
23+ },
24+ "sprite" : " local://sprites/stretch" ,
25+ "glyphs" : " local://glyphs/{fontstack}/{range}.pbf" ,
26+ "layers" : [
27+ {
28+ "id" : " icons" ,
29+ "type" : " symbol" ,
30+ "source" : " geojson" ,
31+ "layout" : {
32+ "text-field" : " ホテル" ,
33+ "text-font" : [
34+ " literal" ,
35+ [
36+ " NotoCJK"
37+ ]
38+ ],
39+ "text-writing-mode" : [" vertical" ],
40+ "icon-text-fit" : " both" ,
41+ "icon-image" : " nine-part-content"
42+ },
43+ "appearances" : [
44+ {
45+ "name" : " test" ,
46+ "condition" : true ,
47+ "properties" : {
48+ "icon-size" : 0
49+ }
50+ }
51+ ]
52+ }
53+ ]
54+ }
Original file line number Diff line number Diff line change 1+ {
2+ "version" : 8 ,
3+ "metadata" : {
4+ "test" : {
5+ "height" : 32 ,
6+ "width" : 32
7+ }
8+ },
9+ "camera" : {"camera-projection" : " orthographic" },
10+ "sources" : {
11+ "geojson" : {
12+ "type" : " geojson" ,
13+ "data" : {
14+ "type" : " FeatureCollection" ,
15+ "features" : [
16+ {
17+ "type" : " Feature" ,
18+ "geometry" : {
19+ "type" : " Point" ,
20+ "coordinates" : [
21+ 0 ,
22+ 0
23+ ]
24+ }
25+ }
26+ ]
27+ }
28+ }
29+ },
30+ "sprite" : " local://sprites/sprite" ,
31+ "layers" : [
32+ {
33+ "id" : " icon" ,
34+ "type" : " symbol" ,
35+ "source" : " geojson" ,
36+ "layout" : {
37+ "icon-image" : " bakery-12"
38+ },
39+ "appearances" : [
40+ {
41+ "name" : " test" ,
42+ "condition" : true ,
43+ "properties" : {
44+ "icon-image" : " non-existent-icon" ,
45+ "icon-size" : 2 ,
46+ "icon-rotate" : 90 ,
47+ "icon-offset" : [10 , 10 ]
48+ }
49+ }
50+ ]
51+ }
52+ ]
53+ }
You can’t perform that action at this time.
0 commit comments