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.
75 lines
2.2 KiB
75 lines
2.2 KiB
{
|
|
"version": 8,
|
|
"name": "remap.points",
|
|
"id": "remap.points",
|
|
"metadata": {
|
|
"maputnik:license": "https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md",
|
|
"maputnik:renderer": "mbgljs",
|
|
"openmaptiles:version": "3.x"
|
|
},
|
|
"center": [
|
|
55,
|
|
100
|
|
],
|
|
"zoom": 2,
|
|
"sources": {
|
|
"remap": {
|
|
"type": "vector",
|
|
"url": "http://gw.dc-01.ru:33985/capabilities/remap.json",
|
|
"maxzoom": 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": "regionsboundaries",
|
|
"paint": {
|
|
"line-color": "gray",
|
|
"line-width": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "Объекты",
|
|
"type": "circle",
|
|
"source": "remap",
|
|
"source-layer": "points",
|
|
"paint": {
|
|
"circle-radius": [
|
|
"interpolate",
|
|
["linear"],
|
|
["get", "power_fact_parc_mw"],
|
|
0, 6,
|
|
200, 30
|
|
],
|
|
"circle-opacity": 0.7,
|
|
"circle-color": [
|
|
"match",
|
|
["get", "tech_name"],
|
|
"СЭС", "#ff7f00",
|
|
"ВЭС", "#1f78b4",
|
|
"мГЭС", "#6a3d9a",
|
|
"БиоЭС (биомасса)", "#33a02c",
|
|
"БиоЭС (биогаз)", "#cab2d6",
|
|
"БиоЭС (свалочный газ)", "#b15928",
|
|
"ПЭС", "#fb9a99",
|
|
"ГеоЭС", "#e31a1c",
|
|
"#000000"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |