File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed
integration/render-tests/appearance/line-placement/icon-appears-below Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,9 @@ const skip = [
147147 // Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3474
148148 "render-tests/appearance/icon-text-fit-vertical/other-image" ,
149149
150+ // Broken - https://mapbox.atlassian.net/browse/GLJS-1583
151+ "render-tests/appearance/line-placement/icon-appears-below" ,
152+
150153 // Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3462
151154 "render-tests/appearance/no-icon-size-in-appearance-non-default-layout-icon-size" ,
152155
Original file line number Diff line number Diff line change 1+ {
2+ "version" : 8 ,
3+ "metadata" : {
4+ "test" : {
5+ "width" : 128 ,
6+ "height" : 64
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" : " LineString" ,
20+ "coordinates" : [
21+ [
22+ -40 ,
23+ 0
24+ ],
25+ [
26+ 40 ,
27+ 0
28+ ]
29+ ]
30+ }
31+ }
32+ ]
33+ }
34+ }
35+ },
36+ "glyphs" : " local://glyphs/{fontstack}/{range}.pbf" ,
37+ "sprite" : " local://sprites/sprite" ,
38+ "layers" : [
39+ {
40+ "id" : " line" ,
41+ "type" : " line" ,
42+ "source" : " geojson" ,
43+ "line-color" : " orange"
44+ },
45+ {
46+ "id" : " icon" ,
47+ "type" : " symbol" ,
48+ "source" : " geojson" ,
49+ "layout" : {
50+ "text-field" : " ·" ,
51+ "text-font" : [ " Open Sans Semibold" , " Arial Unicode MS Bold" ],
52+ "text-size" : 13 ,
53+ "symbol-placement" : " line" ,
54+ "symbol-spacing" : 50 ,
55+ "icon-image" : " bank-12"
56+ },
57+ "appearances" : [
58+ {
59+ "name" : " icon-below-the-line" ,
60+ "condition" : true ,
61+ "properties" : {
62+ "icon-offset" : [0 , 10 ]
63+ }
64+ }
65+ ]
66+ }
67+ ]
68+ }
You can’t perform that action at this time.
0 commit comments