1 line
39 KiB
JSON
1 line
39 KiB
JSON
|
{"version":8,"id":"024da34e-fa66-4cb3-8f5f-0466b51e972e","name":"My Streets","sources":{"maptiler_planet":{"url":"https://api.maptiler.com/tiles/v3/tiles.json?key=Ukl2QNcQUCPAwuelQOvM","type":"vector"},"maptiler_attribution":{"attribution":"<a href=\"https://www.maptiler.com/copyright/\" target=\"_blank\">© MapTiler</a> <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">© OpenStreetMap contributors</a>","type":"vector"}},"layers":[{"id":"background","type":"background","layout":{"visibility":"visible"},"paint":{"background-color":{"stops":[[6,"hsl(47,79%,94%)"],[14,"hsl(42,49%,93%)"]]}}},{"id":"landscape","type":"fill","source":"maptiler_planet","source-layer":"globallandcover","maxzoom":8,"layout":{"visibility":"visible"},"paint":{"fill-color":["match",["get","class"],"crop","hsl(50,67%,86%)","scrub","hsl(97,51%,80%)","grass","hsl(75,51%,85%)","hsl(0,0%,100%)"],"fill-opacity":{"stops":[[0,1],[8,0.1]]},"fill-antialias":true},"filter":["all",["in","class","crop","grass","scrub"]]},{"id":"snow","type":"fill","source":"maptiler_planet","source-layer":"landcover","maxzoom":24,"layout":{"visibility":"visible"},"paint":{"fill-color":"hsl(0,0%,100%)","fill-opacity":{"stops":[[0,1],[10,0.7]]},"fill-antialias":true},"filter":["all",["==","class","ice"]]},{"id":"forest","type":"fill","source":"maptiler_planet","source-layer":"globallandcover","maxzoom":8,"layout":{"visibility":"visible"},"paint":{"fill-color":["match",["get","class"],"forest","hsl(119,38%,76%)","tree","hsl(99,42%,76%)","hsl(0,0%,100%)"],"fill-opacity":{"stops":[[1,0.8],[8,0]]},"fill-antialias":true},"filter":["all",["in","class","forest","tree"]]},{"id":"aeroway_fill","type":"fill","source":"maptiler_planet","source-layer":"aeroway","minzoom":11,"layout":{"visibility":"visible"},"paint":{"fill-color":"hsl(0,0%,93%)","fill-opacity":1},"metadata":{},"filter":["==","$type","Polygon"]},{"id":"landcover","type":"fill","source":"maptiler_planet","source-layer":"landcover","layout":{"visibility":"visible"},"paint":{"fill-color":["match",["get","class"],"wood","hsl(99,48%,77%)","grass","hsl(103,40%,85%)","sand","hsl(52,93%,89%)","hsl(0,0%,100%)"],"fill-opacity":0.5,"fill-antialias":false},"metadata":{},"filter":["all",["in","class","grass","sand","wood"]]},{"id":"landuse_industrial","type":"fill","source":"maptiler_planet","source-layer":"landuse","maxzoom":24,"layout":{"visibility":"visible"},"paint":{"fill-color":["interpolate",["linear"],["zoom"],9,["match",["get","class"],["industrial"],"hsl(40,67%,90%)","quarry","hsla(32, 47%, 87%, 0.2)","hsla(60, 31%, 87%, 1)"],16,["match",["get","class"],["industrial"],"hsl(49,54%,90%)","quarry","hsla(32, 47%, 87%, 0.5)","hsla(60, 31%, 87%, 1)"]],"fill-opacity":["step",["zoom"],1,9,["match",["get","class"],"quarry",0,1],10,1]},"metadata":{},"filter":["all",["in","class","industrial","quarry"]]},{"id":"landuse_residential","type":"fill","source":"maptiler_planet","source-layer":"landuse","maxzoom":24,"layout":{"visibility":"visible"},"paint":{"fill-color":{"base":1,"stops":[[4,"hsl(44,34%,87%)"],[16,"hsl(54, 45%, 91%)"]]}},"metadata":{},"filter":["all",["in","class","residential","suburbs","neighbourhood"]]},{"id":"road_area_pedestrian","type":"fill","source":"maptiler_planet","source-layer":"transportation","layout":{"visibility":"visible"},"paint":{"fill-color":"hsl(43,100%,99%)","fill-opacity":0.7},"metadata":{},"filter":["all",["==","$type","Polygon"],["!has","brunnel"],["!in","class","bridge","pier"],["in","subclass","pedestrian","platform"]]},{"id":"landuse","type":"fill","source":"maptiler_planet","source-layer":"landuse","minzoom":9,"maxzoom":24,"layout":{"visibility":"visible"},"paint":{"fill-color":["match",["get","class"],["school","college","university"],"hsl(194,52%,94%)",["stadium","pitch"],"hsl(94,100%,88%)","hospital","hsl(12,63%,94%)","cemetery","hsl(0,0%,88%)","garages","hsl(0,0%,93%)","dam","hsl(68,20%,79%)","hsl(0,0%,100%)"],"fill-opacity":{"stops":[[9,0.25],[16,1]]},"fill-antialias":true},"metadata":{},"filter":["all",["in","class","cemetery","college","dam","hospital","garages","pi
|