|
3 | 3 | "background":{ |
4 | 4 | "label":"background", |
5 | 5 | "icon":"public", |
6 | | - "colorProperty":"background-color" |
| 6 | + "colorProperty":"background-color", |
| 7 | + "default":{ |
| 8 | + "layout":{ |
| 9 | + "visibility":"visible" |
| 10 | + }, |
| 11 | + "paint":{ |
| 12 | + "background-color":"#37474F" |
| 13 | + } |
| 14 | + } |
7 | 15 | }, |
8 | 16 | "circle":{ |
9 | 17 | "label":"circle", |
10 | 18 | "icon":"grain", |
11 | | - "colorProperty":"circle-color" |
| 19 | + "colorProperty":"circle-color", |
| 20 | + "default":{ |
| 21 | + "layout":{ |
| 22 | + "visibility":"visible" |
| 23 | + }, |
| 24 | + "paint":{ |
| 25 | + "circle-color":{"color":"light"}, |
| 26 | + "circle-radius":3 |
| 27 | + } |
| 28 | + } |
12 | 29 | }, |
13 | 30 | "fill":{ |
14 | 31 | "label":"fill", |
15 | 32 | "icon":"stop", |
16 | | - "colorProperty":"fill-color" |
| 33 | + "colorProperty":"fill-color", |
| 34 | + "default":{ |
| 35 | + "layout":{ |
| 36 | + "visibility":"visible" |
| 37 | + }, |
| 38 | + "paint":{ |
| 39 | + "fill-color":{"color":"light"} |
| 40 | + } |
| 41 | + } |
17 | 42 | }, |
18 | 43 | "fill-extrusion":{ |
19 | 44 | "label":"fill-extrusion", |
20 | 45 | "icon":"filter_none", |
21 | | - "colorProperty":"fill-extrusion-color" |
| 46 | + "colorProperty":"fill-extrusion-color", |
| 47 | + "default":{ |
| 48 | + "layout":{ |
| 49 | + "visibility":"visible" |
| 50 | + }, |
| 51 | + "paint":{ |
| 52 | + "fill-extrusion-color":{"color":"light"} |
| 53 | + } |
| 54 | + } |
22 | 55 | }, |
23 | 56 | "heatmap":{ |
24 | 57 | "label":"heatmap", |
25 | 58 | "icon":"bubble_chart", |
26 | | - "colorProperty":"heatmap-color" |
| 59 | + "colorProperty":"heatmap-color", |
| 60 | + "default":{ |
| 61 | + "layout":{ |
| 62 | + "visibility":"visible" |
| 63 | + }, |
| 64 | + "paint":{ |
| 65 | + "heatmap-color":{"color":"light"} |
| 66 | + } |
| 67 | + } |
27 | 68 | }, |
28 | 69 | "hillshade":{ |
29 | 70 | "label":"hillshade", |
30 | 71 | "icon":"landscape", |
31 | | - "colorProperty":["hillshade-shadow-color","hillshade-highlight-color","hillshade-accent-color"] |
| 72 | + "colorProperty":["hillshade-shadow-color","hillshade-highlight-color","hillshade-accent-color"], |
| 73 | + "default":{ |
| 74 | + "layout":{ |
| 75 | + "visibility":"visible" |
| 76 | + }, |
| 77 | + "paint":{ |
| 78 | + "hillshade-shadow-color":{"color":"light"} |
| 79 | + } |
| 80 | + } |
32 | 81 | }, |
33 | 82 | "line":{ |
34 | 83 | "label":"line", |
35 | 84 | "icon":"show_chart", |
36 | | - "colorProperty":"line-color" |
| 85 | + "colorProperty":"line-color", |
| 86 | + "default":{ |
| 87 | + "layout":{ |
| 88 | + "visibility":"visible" |
| 89 | + }, |
| 90 | + "paint":{ |
| 91 | + "line-color":{"color":"light"} |
| 92 | + } |
| 93 | + } |
37 | 94 | }, |
38 | 95 | "raster":{ |
39 | 96 | "label":"raster", |
40 | | - "icon":"image" |
| 97 | + "icon":"image", |
| 98 | + "default":{ |
| 99 | + "layout":{ |
| 100 | + "visibility":"visible" |
| 101 | + } |
| 102 | + } |
41 | 103 | }, |
42 | 104 | "symbol":{ |
43 | 105 | "label":"symbol", |
44 | 106 | "icon":"text_format", |
45 | | - "colorProperty":["text-color","icon-color"] |
| 107 | + "colorProperty":["text-color","icon-color"], |
| 108 | + "default":{ |
| 109 | + "layout":{ |
| 110 | + "visibility":"visible", |
| 111 | + "text-font":["Open Sans Regular","Arial Unicode MS Regular"] |
| 112 | + }, |
| 113 | + "paint":{ |
| 114 | + "text-color":{"color":"light"} |
| 115 | + } |
| 116 | + } |
46 | 117 | } |
47 | 118 | }, |
48 | 119 |
|
|
0 commit comments