You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

316 lines
8.5 KiB

{
"version": 8,
"name": "remap.countries",
"id": "remap.countries",
"metadata": {},
"center": [
45,
10
],
"zoom": 0.82,
"minZoom": 0.75,
"maxZoom": 4,
"sources": {
"remap": {
"type": "vector",
"url": "http://gw.dc-01.ru:33985/capabilities/remap.json",
"mapzoom": 1
},
"basemap": {
"type": "raster",
"tiles": [
"https://api.mapbox.com/styles/v1/ghermant/cl9vd1nji002n15s2xxj25f4m/tiles/512/{z}/{x}/{y}@2x?access_token=pk.eyJ1IjoiZ2hlcm1hbnQiLCJhIjoiY2pncDUwcnRmNDQ4ZjJ4czdjZXMzaHZpNyJ9.3rFyYRRtvLUngHm027HZ7A"
]
}
},
"layers": [
{
"id": "Подложка",
"type": "raster",
"source": "basemap",
"paint": {}
},
{
"id": "Границы",
"type": "line",
"source": "remap",
"source-layer": "countriesboundaries",
"paint": {
"line-color": "gray",
"line-width": 1
}
},
{
"id": "power_fact_mw",
"type": "fill",
"source": "remap",
"source-layer": "countriesvalues",
"paint": {
"fill-opacity": [
"case",
[
"has",
"power_fact_mw"
],
1,
0.1
],
"fill-color": [
"step",
[
"get",
"power_fact_mw"
],
"#440154",
5000,
"#482173",
19000,
"#433E85",
38000,
"#38598C",
70000,
"#2D708E",
114000,
"#25858E",
155000,
"#1E9B8A",
268000,
"#2BB07F",
385000,
"#51C56A",
447000,
"#85D54A",
580000,
"#C2DF23",
858000,
"#FDE725"
]
}
},
{
"id": "power_plan_mw",
"type": "fill",
"source": "remap",
"source-layer": "countriesvalues",
"paint": {
"fill-opacity": [
"case",
[
"has",
"power_plan_mw"
],
1,
0.1
],
"fill-color": [
"step",
[
"get",
"power_fact_mw"
],
"#440154",
5000,
"#482173",
19000,
"#433E85",
38000,
"#38598C",
70000,
"#2D708E",
114000,
"#25858E",
155000,
"#1E9B8A",
268000,
"#2BB07F",
385000,
"#51C56A",
447000,
"#85D54A",
580000,
"#C2DF23",
858000,
"#FDE725"
]
}
},
{
"id": "generation_gwh",
"type": "fill",
"source": "remap",
"source-layer": "countriesvalues",
"paint": {
"fill-opacity": [
"case",
[
"has",
"generation_gwh"
],
1,
0.1
],
"fill-color": [
"step",
[
"get",
"generation_gwh"
],
"#440154",
6000,
"#482173",
22000,
"#433E85",
48000,
"#38598C",
97000,
"#2D708E",
200000,
"#25858E",
340000,
"#1E9B8A",
580000,
"#2BB07F",
803000,
"#51C56A",
928000,
"#85D54A",
1178000,
"#C2DF23",
1710000,
"#FDE725"
]
}
},
{
"id": "res_share_generation",
"type": "fill",
"source": "remap",
"source-layer": "countriesvalues",
"paint": {
"fill-opacity": [
"case",
[
"has",
"res_share_generation"
],
1,
0.1
],
"fill-color": [
"step",
[
"get",
"res_share_generation"
],
"#440154",
2,
"#482173",
6,
"#433E85",
12,
"#38598C",
19,
"#2D708E",
27,
"#25858E",
37,
"#1E9B8A",
48,
"#2BB07F",
58,
"#51C56A",
70,
"#85D54A",
83,
"#C2DF23",
94,
"#FDE725"
]
}
},
{
"id": "res_share_power",
"type": "fill",
"source": "remap",
"source-layer": "countriesvalues",
"paint": {
"fill-opacity": [
"case",
[
"has",
"res_share_power"
],
1,
0.1
],
"fill-color": [
"step",
[
"get",
"res_share_power"
],
"#440154",
3,
"#482173",
9,
"#433E85",
15,
"#38598C",
22,
"#2D708E",
29,
"#25858E",
38,
"#1E9B8A",
46,
"#2BB07F",
54,
"#51C56A",
64,
"#85D54A",
75,
"#C2DF23",
89,
"#FDE725"
]
}
},
{
"id": "generation_to_population_kWh_pers",
"type": "fill",
"source": "remap",
"source-layer": "countriesvalues",
"paint": {
"fill-opacity": [
"case",
[
"has",
"generation_to_population_kWh_pers"
],
1,
0.1
],
"fill-color": [
"step",
[
"get",
"generation_to_population_kWh_pers"
],
"#440154",
9,
"#443A83",
21,
"#31688E",
36,
"#21908C",
51,
"#35B779",
67,
"#8FD744",
86,
"#FDE725"
]
}
}
]
}