Last active
July 23, 2021 21:46
-
-
Save nlehuby/9262c1a588adf7ade6990b2a208c2e55 to your computer and use it in GitHub Desktop.
a mapbox_gl_style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "Qwant Style Basic", | |
"metadata": { | |
"mapbox:autocomposite": false, | |
"mapbox:type": "template", | |
"maputnik:renderer": "mbgljs", | |
"openmaptiles:version": "3.x" | |
}, | |
"center": [ | |
2.27896, | |
48.87001 | |
], | |
"zoom": 12.241790506353492, | |
"bearing": 0, | |
"pitch": 0, | |
"sources": { | |
"openmaptiles": { | |
"url": "tileschema.json", | |
"type": "vector" | |
} | |
}, | |
"sprite": "https://rawgit.com/lukasmartinelli/osm-liberty/gh-pages/sprites/osm-liberty", | |
"glyphs": "https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={key}", | |
"layers": [{ | |
"id": "background", | |
"type": "background", | |
"paint": { | |
"background-color": "hsl(47, 26%, 88%)" | |
} | |
}, | |
{ | |
"id": "landuse-residential", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"==", | |
"class", | |
"residential" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "hsl(47, 13%, 86%)", | |
"fill-opacity": 0.7 | |
} | |
}, | |
{ | |
"id": "landcover_grass", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"class", | |
"grass" | |
], | |
"paint": { | |
"fill-color": "hsl(82, 46%, 72%)", | |
"fill-opacity": 0.45 | |
} | |
}, | |
{ | |
"id": "park", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "park", | |
"paint": { | |
"fill-color": "rgba(192, 216, 151, 0.53)", | |
"fill-opacity": 1 | |
} | |
}, | |
{ | |
"id": "landcover_wood", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"class", | |
"wood" | |
], | |
"paint": { | |
"fill-color": "hsl(82, 46%, 72%)", | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
8, | |
0.6 | |
], | |
[ | |
22, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "water", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "water", | |
"filter": [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
"paint": { | |
"fill-color": "hsl(205, 56%, 73%)" | |
} | |
}, | |
{ | |
"id": "landcover-ice-shelf", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"subclass", | |
"ice_shelf" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "hsl(47, 26%, 88%)", | |
"fill-opacity": 0.8 | |
} | |
}, | |
{ | |
"id": "landcover-glacier", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"subclass", | |
"glacier" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "hsl(47, 22%, 94%)", | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
0, | |
1 | |
], | |
[ | |
8, | |
0.5 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "landuse_cemetery", | |
"type": "fill", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"cemetery" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-color": "hsl(75, 37%, 81%)" | |
} | |
}, | |
{ | |
"id": "landuse_hospital", | |
"type": "fill", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"filter": [ | |
"==", | |
"class", | |
"hospital" | |
], | |
"paint": { | |
"fill-color": "#fde" | |
} | |
}, | |
{ | |
"id": "landuse_school", | |
"type": "fill", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "landuse", | |
"filter": [ | |
"in", | |
"class", | |
"school", | |
"university", | |
"college", | |
"kindergarten" | |
], | |
"paint": { | |
"fill-color": "rgb(236,238,204)" | |
} | |
}, | |
{ | |
"id": "landuse_overlay_national_park", | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "landcover", | |
"filter": [ | |
"==", | |
"class", | |
"national_park" | |
], | |
"paint": { | |
"fill-color": "#E1EBB0", | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
5, | |
0 | |
], | |
[ | |
9, | |
0.75 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "park_outline", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "park", | |
"layout": {}, | |
"paint": { | |
"line-color": "rgba(159, 183, 118, 0.69)", | |
"line-dasharray": [ | |
0.5, | |
1 | |
] | |
} | |
}, | |
{ | |
"id": "waterway", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "waterway", | |
"filter": [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
"paint": { | |
"line-color": "hsl(205, 56%, 73%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
8, | |
1 | |
], | |
[ | |
20, | |
8 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "tunnel_railway_transit", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"transit" | |
] | |
], | |
"layout": { | |
"line-cap": "butt", | |
"line-join": "miter" | |
}, | |
"paint": { | |
"line-color": "hsl(34, 12%, 66%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
0 | |
], | |
[ | |
16, | |
1 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
3, | |
3 | |
] | |
} | |
}, | |
{ | |
"id": "building-not-3d", | |
"maxzoom": 18, | |
"type": "fill", | |
"source": "openmaptiles", | |
"source-layer": "building", | |
"paint": { | |
"fill-color": "rgba(222, 211, 190, 1)", | |
"fill-outline-color": { | |
"stops": [ | |
[ | |
15, | |
"rgba(212, 177, 146, 0)" | |
], | |
[ | |
16, | |
"rgba(212, 177, 146, 0.5)" | |
] | |
] | |
}, | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
15, | |
1 | |
] | |
] | |
}, | |
"fill-antialias": true | |
} | |
}, | |
{ | |
"id": "housenumber", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "housenumber", | |
"minzoom": 17, | |
"filter": [ | |
"==", | |
"$type", | |
"Point" | |
], | |
"layout": { | |
"text-field": "{housenumber}", | |
"text-size": 10, | |
"text-font": [ | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
] | |
}, | |
"paint": { | |
"text-color": "rgba(212, 177, 146, 1)" | |
} | |
}, | |
{ | |
"id": "road_path", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"class", | |
"path", | |
"track" | |
] | |
], | |
"layout": { | |
"line-cap": "square", | |
"line-join": "bevel" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 97%)", | |
"line-dasharray": [ | |
1, | |
1 | |
], | |
"line-width": { | |
"base": 1.55, | |
"stops": [ | |
[ | |
4, | |
0.25 | |
], | |
[ | |
20, | |
10 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_minor", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"class", | |
"minor", | |
"service" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 97%)", | |
"line-width": { | |
"base": 1.55, | |
"stops": [ | |
[ | |
4, | |
0.25 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "tunnel_minor", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"==", | |
"class", | |
"minor_road" | |
] | |
], | |
"layout": { | |
"line-cap": "butt", | |
"line-join": "miter" | |
}, | |
"paint": { | |
"line-color": "#efefef", | |
"line-width": { | |
"base": 1.55, | |
"stops": [ | |
[ | |
4, | |
0.25 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
0.36, | |
0.18 | |
] | |
} | |
}, | |
{ | |
"id": "tunnel_major", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"tunnel" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"tertiary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-cap": "butt", | |
"line-join": "miter" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
6, | |
0.5 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
}, | |
"line-dasharray": [ | |
0.28, | |
0.14 | |
] | |
} | |
}, | |
{ | |
"id": "aeroway-area", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"in", | |
"class", | |
"runway", | |
"taxiway" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
13, | |
0 | |
], | |
[ | |
14, | |
1 | |
] | |
] | |
}, | |
"fill-color": "rgba(255, 255, 255, 1)" | |
} | |
}, | |
{ | |
"id": "aeroway-aerodrome", | |
"type": "fill", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Polygon" | |
], | |
[ | |
"in", | |
"class", | |
"aerodrome" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"fill-opacity": 0.5, | |
"fill-color": "rgba(255, 255, 255, 1)" | |
} | |
}, | |
{ | |
"id": "aeroway-taxiway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"filter": [ | |
"all", [ | |
"in", | |
"class", | |
"taxiway" | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(255, 255, 255, 1)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
12, | |
1 | |
], | |
[ | |
17, | |
10 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "aeroway-runway", | |
"type": "line", | |
"metadata": { | |
"mapbox:group": "1444849345966.4436" | |
}, | |
"source": "openmaptiles", | |
"source-layer": "aeroway", | |
"filter": [ | |
"all", [ | |
"in", | |
"class", | |
"runway" | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round", | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "rgba(255, 255, 255, 1)", | |
"line-width": { | |
"base": 1.5, | |
"stops": [ | |
[ | |
11, | |
4 | |
], | |
[ | |
17, | |
50 | |
] | |
] | |
}, | |
"line-opacity": 1 | |
} | |
}, | |
{ | |
"id": "road_trunk_primary", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"class", | |
"trunk", | |
"primary" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
6, | |
0.5 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_secondary_tertiary", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"in", | |
"class", | |
"secondary", | |
"tertiary" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
6, | |
0.5 | |
], | |
[ | |
20, | |
20 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "road_major_motorway", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"class", | |
"motorway" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 100%)", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
8, | |
1 | |
], | |
[ | |
16, | |
10 | |
] | |
] | |
}, | |
"line-offset": 0 | |
} | |
}, | |
{ | |
"id": "railway-transit", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"class", | |
"transit" | |
], | |
[ | |
"!=", | |
"brunnel", | |
"tunnel" | |
] | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(34, 12%, 66%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
0 | |
], | |
[ | |
16, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "railway", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"==", | |
"class", | |
"rail" | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(34, 12%, 66%)", | |
"line-opacity": { | |
"base": 1, | |
"stops": [ | |
[ | |
11, | |
0 | |
], | |
[ | |
16, | |
1 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_minor case", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"minor_road" | |
] | |
], | |
"layout": { | |
"line-cap": "butt", | |
"line-join": "miter" | |
}, | |
"paint": { | |
"line-color": "#dedede", | |
"line-width": { | |
"base": 1.6, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
20, | |
10 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.55, | |
"stops": [ | |
[ | |
4, | |
0.25 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_major case", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"tertiary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-cap": "butt", | |
"line-join": "miter" | |
}, | |
"paint": { | |
"line-color": "#dedede", | |
"line-width": { | |
"base": 1.6, | |
"stops": [ | |
[ | |
12, | |
0.5 | |
], | |
[ | |
20, | |
10 | |
] | |
] | |
}, | |
"line-gap-width": { | |
"base": 1.55, | |
"stops": [ | |
[ | |
4, | |
0.25 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_minor", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"==", | |
"class", | |
"minor_road" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#efefef", | |
"line-width": { | |
"base": 1.55, | |
"stops": [ | |
[ | |
4, | |
0.25 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "bridge_major", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "transportation", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
[ | |
"==", | |
"brunnel", | |
"bridge" | |
], | |
[ | |
"in", | |
"class", | |
"primary", | |
"secondary", | |
"tertiary", | |
"trunk" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "#fff", | |
"line-width": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
6, | |
0.5 | |
], | |
[ | |
20, | |
30 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "admin_sub", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"filter": [ | |
"in", | |
"admin_level", | |
4, | |
6, | |
8 | |
], | |
"layout": { | |
"visibility": "visible" | |
}, | |
"paint": { | |
"line-color": "hsl(0, 0%, 76%)", | |
"line-dasharray": [ | |
2, | |
1 | |
] | |
} | |
}, | |
{ | |
"id": "admin_country", | |
"type": "line", | |
"source": "openmaptiles", | |
"source-layer": "boundary", | |
"filter": [ | |
"all", [ | |
"<=", | |
"admin_level", | |
2 | |
], | |
[ | |
"==", | |
"$type", | |
"LineString" | |
] | |
], | |
"layout": { | |
"line-cap": "round", | |
"line-join": "round" | |
}, | |
"paint": { | |
"line-color": "hsla(0, 8%, 22%, 0.51)", | |
"line-width": { | |
"base": 1.3, | |
"stops": [ | |
[ | |
3, | |
0.5 | |
], | |
[ | |
22, | |
15 | |
] | |
] | |
} | |
} | |
}, | |
{ | |
"id": "poi_z16", | |
"type": "symbol", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 16, | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">=", | |
"rank", | |
20 | |
] | |
], | |
"layout": { | |
"icon-image": "{class}_11", | |
"text-anchor": "top", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Italic" | |
], | |
"text-max-width": 9, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-padding": 2, | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-blur": 0.5, | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "poi_z15", | |
"type": "symbol", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 15, | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">=", | |
"rank", | |
7 | |
], | |
[ | |
"<", | |
"rank", | |
20 | |
] | |
], | |
"layout": { | |
"icon-image": "{class}_11", | |
"text-anchor": "top", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Italic" | |
], | |
"text-max-width": 9, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-padding": 2, | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-blur": 0.5, | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "poi_z14", | |
"type": "symbol", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"minzoom": 14, | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
">=", | |
"rank", | |
1 | |
], | |
[ | |
"<", | |
"rank", | |
7 | |
] | |
], | |
"layout": { | |
"icon-image": "{class}_11", | |
"text-anchor": "top", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Italic" | |
], | |
"text-max-width": 9, | |
"text-offset": [ | |
0, | |
0.6 | |
], | |
"text-padding": 2, | |
"text-size": 12 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-blur": 0.5, | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1 | |
} | |
}, | |
{ | |
"id": "poi_transit_tram", | |
"type": "symbol", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"layout": { | |
"icon-image": "rail_light_11", | |
"text-anchor": "left", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Italic" | |
], | |
"text-max-width": 9, | |
"text-offset": [ | |
0.9, | |
0 | |
], | |
"text-padding": 2, | |
"text-size": 12, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#4898ff", | |
"text-halo-blur": 0.5, | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1 | |
}, | |
"filter": [ | |
"all", [ | |
"==", | |
"class", | |
"railway" | |
], | |
[ | |
"==", | |
"subclass", | |
"tram_stop" | |
] | |
] | |
}, | |
{ | |
"id": "poi_transit_rail", | |
"type": "symbol", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"layout": { | |
"icon-image": "rail_11", | |
"text-anchor": "left", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Italic" | |
], | |
"text-max-width": 9, | |
"text-offset": [ | |
0.9, | |
0 | |
], | |
"text-padding": 2, | |
"text-size": 12, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#4898ff", | |
"text-halo-blur": 0.5, | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1 | |
}, | |
"filter": [ | |
"all", [ | |
"==", | |
"class", | |
"railway" | |
], | |
[ | |
"in", | |
"subclass", | |
"subway", "station", "halt" | |
] | |
] | |
}, | |
{ | |
"id": "poi_transit", | |
"type": "symbol", | |
"metadata": {}, | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"layout": { | |
"icon-image": "{class}_11", | |
"text-anchor": "left", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Italic" | |
], | |
"text-max-width": 9, | |
"text-offset": [ | |
0.9, | |
0 | |
], | |
"text-padding": 2, | |
"text-size": 12, | |
"visibility": "visible" | |
}, | |
"paint": { | |
"text-color": "#4898ff", | |
"text-halo-blur": 0.5, | |
"text-halo-color": "#ffffff", | |
"text-halo-width": 1 | |
}, | |
"filter": [ | |
"all", [ | |
"in", | |
"class", | |
"bus", | |
"airport" | |
] | |
] | |
}, | |
{ | |
"id": "poi_label", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "poi", | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"rank", | |
1 | |
] | |
], | |
"layout": { | |
"text-size": 11, | |
"text-font": [ | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"visibility": "visible", | |
"text-offset": [ | |
0, | |
0.5 | |
], | |
"icon-size": 1, | |
"text-anchor": "top", | |
"text-field": "{name}", | |
"text-max-width": 8 | |
}, | |
"paint": { | |
"text-color": "#666", | |
"text-halo-width": 1, | |
"text-halo-color": "rgba(255,255,255,0.75)", | |
"text-halo-blur": 1 | |
} | |
}, | |
{ | |
"id": "road_major_label", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "transportation_name", | |
"filter": [ | |
"==", | |
"$type", | |
"LineString" | |
], | |
"layout": { | |
"symbol-placement": "line", | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-letter-spacing": 0.1, | |
"text-size": { | |
"base": 1.4, | |
"stops": [ | |
[ | |
10, | |
8 | |
], | |
[ | |
20, | |
14 | |
] | |
] | |
}, | |
"text-rotation-alignment": "map" | |
}, | |
"paint": { | |
"text-color": "#000", | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"text-halo-width": 2 | |
} | |
}, | |
{ | |
"id": "building-3d", | |
"type": "fill-extrusion", | |
"minzoom": 18, | |
"source": "openmaptiles", | |
"source-layer": "building", | |
"paint": { | |
"fill-extrusion-color": "hsl(39, 41%, 86%)", | |
"fill-extrusion-height": { | |
"property": "render_height", | |
"type": "identity" | |
}, | |
"fill-extrusion-base": { | |
"property": "render_min_height", | |
"type": "identity" | |
}, | |
"fill-extrusion-opacity": 0.6 | |
} | |
}, | |
{ | |
"id": "place_label_other", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"minzoom": 8, | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"!=", | |
"class", | |
"city" | |
] | |
], | |
"layout": { | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-max-width": 6, | |
"text-size": { | |
"stops": [ | |
[ | |
6, | |
10 | |
], | |
[ | |
12, | |
14 | |
] | |
] | |
}, | |
"visibility": "visible", | |
"text-anchor": "center" | |
}, | |
"paint": { | |
"text-color": "hsl(0, 10%, 25%)", | |
"text-halo-color": "hsl(0, 0%, 100%)", | |
"text-halo-blur": 0, | |
"text-halo-width": 2 | |
} | |
}, | |
{ | |
"id": "place_label_city", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"maxzoom": 16, | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"class", | |
"city" | |
] | |
], | |
"layout": { | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Regular", | |
"Klokantech Noto Sans CJK Regular" | |
], | |
"text-max-width": 10, | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
12 | |
], | |
[ | |
8, | |
16 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 0%)", | |
"text-halo-color": "hsla(0, 0%, 100%, 0.75)", | |
"text-halo-blur": 0, | |
"text-halo-width": 2 | |
} | |
}, | |
{ | |
"id": "country_label", | |
"type": "symbol", | |
"source": "openmaptiles", | |
"source-layer": "place", | |
"maxzoom": 12, | |
"filter": [ | |
"all", [ | |
"==", | |
"$type", | |
"Point" | |
], | |
[ | |
"==", | |
"class", | |
"country" | |
] | |
], | |
"layout": { | |
"text-field": "{name}", | |
"text-font": [ | |
"Klokantech Noto Sans Bold", | |
"Klokantech Noto Sans CJK Bold" | |
], | |
"text-max-width": 10, | |
"text-size": { | |
"stops": [ | |
[ | |
3, | |
12 | |
], | |
[ | |
8, | |
22 | |
] | |
] | |
} | |
}, | |
"paint": { | |
"text-color": "hsl(0, 0%, 13%)", | |
"text-halo-color": "rgba(255,255,255,0.75)", | |
"text-halo-width": 2, | |
"text-halo-blur": 0 | |
} | |
} | |
], | |
"id": "thisisourverycustomid" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tiles": ["https://free-0.tilehosting.com/data/v3/{z}/{x}/{y}.pbf.pict?key=tXiQqN3lIgskyDErJCeY"], | |
"name": "OpenMapTiles", | |
"format": "pbf", | |
"basename": "v3.6.mbtiles", | |
"id": "openmaptiles", | |
"attribution": "<a href=\"http://www.openmaptiles.org/\" target=\"_blank\">© OpenMapTiles</a> <a href=\"http://www.openstreetmap.org/about/\" target=\"_blank\">© OpenStreetMap contributors</a>", | |
"center": [-12.2168, 28.6135, 4], | |
"description": "A tileset showcasing all layers in OpenMapTiles. http://openmaptiles.org", | |
"maxzoom": 14, | |
"minzoom": 0, | |
"pixel_scale": "256", | |
"vector_layers": [{ | |
"maxzoom": 14, | |
"fields": { | |
"class": "String" | |
}, | |
"minzoom": 0, | |
"id": "water", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"name:mt": "String", | |
"name:pt": "String", | |
"name:az": "String", | |
"name:ka": "String", | |
"name:rm": "String", | |
"name:ko": "String", | |
"name:kn": "String", | |
"name:ar": "String", | |
"name:cs": "String", | |
"name_de": "String", | |
"name:ro": "String", | |
"name:it": "String", | |
"name_int": "String", | |
"name:ru": "String", | |
"name:pl": "String", | |
"name:ca": "String", | |
"name:lv": "String", | |
"name:bg": "String", | |
"name:cy": "String", | |
"name:fi": "String", | |
"name:he": "String", | |
"name:da": "String", | |
"name:de": "String", | |
"name:tr": "String", | |
"name:fr": "String", | |
"name:mk": "String", | |
"name:nonlatin": "String", | |
"name:fy": "String", | |
"name:be": "String", | |
"name:zh": "String", | |
"name:sr": "String", | |
"name:sl": "String", | |
"name:nl": "String", | |
"name:ja": "String", | |
"name:lt": "String", | |
"name:no": "String", | |
"name:kk": "String", | |
"name:ko_rm": "String", | |
"name:ja_rm": "String", | |
"name:br": "String", | |
"name:bs": "String", | |
"name:lb": "String", | |
"name:la": "String", | |
"name:sk": "String", | |
"name:uk": "String", | |
"name:hy": "String", | |
"name:sv": "String", | |
"name_en": "String", | |
"name:hu": "String", | |
"name:hr": "String", | |
"class": "String", | |
"name:sq": "String", | |
"name:el": "String", | |
"name:ga": "String", | |
"name:en": "String", | |
"name": "String", | |
"name:gd": "String", | |
"name:ja_kana": "String", | |
"name:is": "String", | |
"name:th": "String", | |
"name:latin": "String", | |
"name:sr-Latn": "String", | |
"name:et": "String", | |
"name:es": "String" | |
}, | |
"minzoom": 0, | |
"id": "waterway", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"class": "String", | |
"subclass": "String" | |
}, | |
"minzoom": 0, | |
"id": "landcover", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"class": "String" | |
}, | |
"minzoom": 0, | |
"id": "landuse", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"name:mt": "String", | |
"name:pt": "String", | |
"name:az": "String", | |
"name:ka": "String", | |
"name:rm": "String", | |
"name:ko": "String", | |
"name:kn": "String", | |
"name:ar": "String", | |
"name:cs": "String", | |
"rank": "Number", | |
"name_de": "String", | |
"name:ro": "String", | |
"name:it": "String", | |
"name_int": "String", | |
"name:lv": "String", | |
"name:pl": "String", | |
"name:de": "String", | |
"name:ca": "String", | |
"name:bg": "String", | |
"name:cy": "String", | |
"name:fi": "String", | |
"name:he": "String", | |
"name:da": "String", | |
"ele": "Number", | |
"name:tr": "String", | |
"name:fr": "String", | |
"name:mk": "String", | |
"name:nonlatin": "String", | |
"name:fy": "String", | |
"name:be": "String", | |
"name:zh": "String", | |
"name:sl": "String", | |
"name:nl": "String", | |
"name:ja": "String", | |
"name:lt": "String", | |
"name:no": "String", | |
"name:kk": "String", | |
"name:ko_rm": "String", | |
"name:ja_rm": "String", | |
"name:br": "String", | |
"name:bs": "String", | |
"name:lb": "String", | |
"name:la": "String", | |
"name:sk": "String", | |
"name:uk": "String", | |
"name:hy": "String", | |
"name:ru": "String", | |
"name:sv": "String", | |
"name_en": "String", | |
"name:hu": "String", | |
"name:hr": "String", | |
"name:sr": "String", | |
"name:sq": "String", | |
"name:el": "String", | |
"name:ga": "String", | |
"name:en": "String", | |
"name": "String", | |
"name:gd": "String", | |
"ele_ft": "Number", | |
"name:ja_kana": "String", | |
"name:is": "String", | |
"osm_id": "Number", | |
"name:th": "String", | |
"name:latin": "String", | |
"name:sr-Latn": "String", | |
"name:et": "String", | |
"name:es": "String" | |
}, | |
"minzoom": 0, | |
"id": "mountain_peak", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"class": "String" | |
}, | |
"minzoom": 0, | |
"id": "park", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"admin_level": "Number", | |
"disputed": "Number", | |
"maritime": "Number" | |
}, | |
"minzoom": 0, | |
"id": "boundary", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"class": "String" | |
}, | |
"minzoom": 0, | |
"id": "aeroway", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"brunnel": "String", | |
"ramp": "Number", | |
"class": "String", | |
"service": "String", | |
"oneway": "Number" | |
}, | |
"minzoom": 0, | |
"id": "transportation", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"render_min_height": "Number", | |
"render_height": "Number" | |
}, | |
"minzoom": 0, | |
"id": "building", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"name:mt": "String", | |
"name:pt": "String", | |
"name:az": "String", | |
"name:ka": "String", | |
"name:rm": "String", | |
"name:ko": "String", | |
"name:kn": "String", | |
"name:ar": "String", | |
"name:cs": "String", | |
"name_de": "String", | |
"name:ro": "String", | |
"name:it": "String", | |
"name_int": "String", | |
"name:ru": "String", | |
"name:pl": "String", | |
"name:ca": "String", | |
"name:lv": "String", | |
"name:bg": "String", | |
"name:cy": "String", | |
"name:fi": "String", | |
"name:he": "String", | |
"name:da": "String", | |
"name:de": "String", | |
"name:tr": "String", | |
"name:fr": "String", | |
"name:mk": "String", | |
"name:nonlatin": "String", | |
"name:fy": "String", | |
"name:be": "String", | |
"name:zh": "String", | |
"name:sr": "String", | |
"name:sl": "String", | |
"name:nl": "String", | |
"name:ja": "String", | |
"name:lt": "String", | |
"name:no": "String", | |
"name:kk": "String", | |
"name:ko_rm": "String", | |
"name:ja_rm": "String", | |
"name:br": "String", | |
"name:bs": "String", | |
"name:lb": "String", | |
"name:la": "String", | |
"name:sk": "String", | |
"name:uk": "String", | |
"name:hy": "String", | |
"name:sv": "String", | |
"name_en": "String", | |
"name:hu": "String", | |
"name:hr": "String", | |
"class": "String", | |
"name:sq": "String", | |
"name:el": "String", | |
"name:ga": "String", | |
"name:en": "String", | |
"name": "String", | |
"name:gd": "String", | |
"name:ja_kana": "String", | |
"name:is": "String", | |
"name:th": "String", | |
"name:latin": "String", | |
"name:sr-Latn": "String", | |
"name:et": "String", | |
"name:es": "String" | |
}, | |
"minzoom": 0, | |
"id": "water_name", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"name:mt": "String", | |
"name:pt": "String", | |
"name:az": "String", | |
"name:ka": "String", | |
"name:rm": "String", | |
"name:ko": "String", | |
"name:kn": "String", | |
"name:ar": "String", | |
"name:cs": "String", | |
"name_de": "String", | |
"name:ro": "String", | |
"name:it": "String", | |
"name_int": "String", | |
"name:ru": "String", | |
"name:pl": "String", | |
"name:ca": "String", | |
"name:lv": "String", | |
"name:bg": "String", | |
"name:cy": "String", | |
"name:fi": "String", | |
"name:he": "String", | |
"name:da": "String", | |
"name:de": "String", | |
"name:tr": "String", | |
"name:fr": "String", | |
"name:mk": "String", | |
"name:nonlatin": "String", | |
"name:fy": "String", | |
"name:be": "String", | |
"name:zh": "String", | |
"name:sr": "String", | |
"name:sl": "String", | |
"name:nl": "String", | |
"name:ja": "String", | |
"name:lt": "String", | |
"name:no": "String", | |
"name:kk": "String", | |
"name:ko_rm": "String", | |
"name:ja_rm": "String", | |
"name:br": "String", | |
"name:bs": "String", | |
"name:lb": "String", | |
"name:la": "String", | |
"name:sk": "String", | |
"name:uk": "String", | |
"name:hy": "String", | |
"name:sv": "String", | |
"name_en": "String", | |
"name:hu": "String", | |
"name:hr": "String", | |
"class": "String", | |
"name:sq": "String", | |
"network": "String", | |
"name:el": "String", | |
"name:ga": "String", | |
"name:en": "String", | |
"name": "String", | |
"name:gd": "String", | |
"ref": "String", | |
"name:ja_kana": "String", | |
"ref_length": "Number", | |
"name:is": "String", | |
"name:th": "String", | |
"name:latin": "String", | |
"name:sr-Latn": "String", | |
"name:et": "String", | |
"name:es": "String" | |
}, | |
"minzoom": 0, | |
"id": "transportation_name", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"name:mt": "String", | |
"name:pt": "String", | |
"name:az": "String", | |
"name:ka": "String", | |
"name:rm": "String", | |
"name:ko": "String", | |
"name:kn": "String", | |
"name:ar": "String", | |
"name:cs": "String", | |
"rank": "Number", | |
"name_de": "String", | |
"name:ro": "String", | |
"name:it": "String", | |
"name_int": "String", | |
"name:ru": "String", | |
"name:pl": "String", | |
"name:ca": "String", | |
"name:lv": "String", | |
"name:bg": "String", | |
"name:cy": "String", | |
"name:hr": "String", | |
"name:fi": "String", | |
"name:he": "String", | |
"name:da": "String", | |
"name:de": "String", | |
"name:tr": "String", | |
"name:fr": "String", | |
"name:mk": "String", | |
"name:nonlatin": "String", | |
"name:fy": "String", | |
"name:be": "String", | |
"name:zh": "String", | |
"name:sr": "String", | |
"name:sl": "String", | |
"name:nl": "String", | |
"name:ja": "String", | |
"name:ko_rm": "String", | |
"name:no": "String", | |
"name:kk": "String", | |
"capital": "Number", | |
"name:ja_rm": "String", | |
"name:br": "String", | |
"name:bs": "String", | |
"name:lb": "String", | |
"name:la": "String", | |
"name:sk": "String", | |
"name:uk": "String", | |
"name:hy": "String", | |
"name:sv": "String", | |
"name_en": "String", | |
"name:hu": "String", | |
"name:lt": "String", | |
"class": "String", | |
"name:sq": "String", | |
"name:el": "String", | |
"name:ga": "String", | |
"name:en": "String", | |
"name": "String", | |
"name:gd": "String", | |
"name:ja_kana": "String", | |
"name:is": "String", | |
"name:th": "String", | |
"name:latin": "String", | |
"name:sr-Latn": "String", | |
"name:et": "String", | |
"name:es": "String" | |
}, | |
"minzoom": 0, | |
"id": "place", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"housenumber": "String" | |
}, | |
"minzoom": 0, | |
"id": "housenumber", | |
"description": "" | |
}, { | |
"maxzoom": 14, | |
"fields": { | |
"name:mt": "String", | |
"name:pt": "String", | |
"name:az": "String", | |
"name:ka": "String", | |
"name:rm": "String", | |
"name:ko": "String", | |
"name:kn": "String", | |
"name:ar": "String", | |
"name:cs": "String", | |
"rank": "Number", | |
"name_de": "String", | |
"name:ro": "String", | |
"name:it": "String", | |
"name_int": "String", | |
"name:ru": "String", | |
"name:pl": "String", | |
"name:ca": "String", | |
"name:lv": "String", | |
"name:bg": "String", | |
"name:cy": "String", | |
"name:fi": "String", | |
"name:he": "String", | |
"name:da": "String", | |
"subclass": "String", | |
"name:de": "String", | |
"name:tr": "String", | |
"name:fr": "String", | |
"name:mk": "String", | |
"name:nonlatin": "String", | |
"name:fy": "String", | |
"name:be": "String", | |
"name:zh": "String", | |
"name:sr": "String", | |
"name:sl": "String", | |
"name:nl": "String", | |
"name:ja": "String", | |
"name:lt": "String", | |
"name:no": "String", | |
"name:kk": "String", | |
"name:ko_rm": "String", | |
"name:ja_rm": "String", | |
"name:br": "String", | |
"name:bs": "String", | |
"name:lb": "String", | |
"name:la": "String", | |
"name:sk": "String", | |
"name:uk": "String", | |
"name:hy": "String", | |
"name:sv": "String", | |
"name_en": "String", | |
"name:hu": "String", | |
"name:hr": "String", | |
"class": "String", | |
"name:sq": "String", | |
"name:el": "String", | |
"name:ga": "String", | |
"name:en": "String", | |
"name": "String", | |
"name:gd": "String", | |
"name:ja_kana": "String", | |
"name:is": "String", | |
"name:th": "String", | |
"name:latin": "String", | |
"name:sr-Latn": "String", | |
"name:et": "String", | |
"name:es": "String" | |
}, | |
"minzoom": 0, | |
"id": "poi", | |
"description": "" | |
}], | |
"maskLevel": "8", | |
"bounds": [-180, -85.0511, 180, 85.0511], | |
"planettime": "1508716800000", | |
"version": "3.6.2", | |
"tilejson": "2.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment