diff --git a/.env.local.example b/.env.local.example
index a6c8f4da..969d2865 100644
--- a/.env.local.example
+++ b/.env.local.example
@@ -12,3 +12,6 @@ AWS_REGION=
GOOGLE_MAPS_API_KEY=
HERE_MAPS_API_KEY=
MAPBOX_DEV_API_KEY=
+PMTILES_GLYPHS=
+PMTILES_SPRITE=
+PMTILES_URL=
diff --git a/app/assets/javascripts/application.js.erb b/app/assets/javascripts/application.js.erb
index a1e50a46..c2e6fc83 100644
--- a/app/assets/javascripts/application.js.erb
+++ b/app/assets/javascripts/application.js.erb
@@ -51,7 +51,7 @@ function showLocations(ids, lats, lons, contents, num_machines, latLng) {
locationIDs = ids;
- let protocol = new pmtiles.Protocol({metadata: true});
+ let protocol = new pmtiles.Protocol();
maplibregl.addProtocol("pmtiles", protocol.tile);
var bounds = new maplibregl.LngLatBounds();
@@ -61,11003 +61,11004 @@ function showLocations(ids, lats, lons, contents, num_machines, latLng) {
container: 'map_canvas',
style: {
version: 8,
- glyphs: "https://pub-fe10a13739ae4e549ecc1f5d016284cb.r2.dev/fonts/{fontstack}/{range}.pbf",
- sprite: "https://pub-fe10a13739ae4e549ecc1f5d016284cb.r2.dev/sprites/v3/light",
+ glyphs: "<%= ENV['PMTILES_GLYPHS'] %>",
+ sprite: "<%= ENV['PMTILES_SPRITE'] %>",
sources: {
protomaps: {
type: "vector",
- url: "pmtiles://https://pub-fe10a13739ae4e549ecc1f5d016284cb.r2.dev/20240923.pmtiles"
+ url: "<%= ENV['PMTILES_URL'] %>",
+ attribution: 'Protomaps Maplibre © OpenStreetMap'
}
},
"layers": [
- {
- "id": "background",
- "type": "background",
- "paint": {
- "background-color": "#cccccc"
- }
- },
- {
- "id": "earth",
- "type": "fill",
- "filter": [
- "==",
- [
- "geometry-type"
- ],
- "Polygon"
- ],
- "source": "protomaps",
- "source-layer": "earth",
- "paint": {
- "fill-color": "#e0e0e0"
- }
- },
- {
- "id": "landuse_park",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "national_park",
- "park",
- "cemetery",
- "protected_area",
- "nature_reserve",
- "forest",
- "golf_course"
- ]
- ],
- "paint": {
- "fill-color": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 0,
- "#cfddd5",
- 12,
- "#9cd3b4"
- ]
- }
- },
- {
- "id": "landuse_urban_green",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "allotments",
- "village_green",
- "playground"
- ]
- ],
- "paint": {
- "fill-color": "#9cd3b4",
- "fill-opacity": 0.7
- }
- },
- {
- "id": "landuse_hospital",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "==",
- "kind",
- "hospital"
- ]
- ],
- "paint": {
- "fill-color": "#e4dad9"
- }
- },
- {
- "id": "landuse_industrial",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "==",
- "kind",
- "industrial"
- ]
- ],
- "paint": {
- "fill-color": "#d1dde1"
- }
- },
- {
- "id": "landuse_school",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "school",
- "university",
- "college"
- ]
- ],
- "paint": {
- "fill-color": "#e4ded7"
- }
- },
- {
- "id": "landuse_beach",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "beach"
- ]
- ],
- "paint": {
- "fill-color": "#e8e4d0"
- }
- },
- {
- "id": "landuse_zoo",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "zoo"
- ]
- ],
- "paint": {
- "fill-color": "#c6dcdc"
- }
- },
- {
- "id": "landuse_military",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "military",
- "naval_base",
- "airfield"
- ]
- ],
- "paint": {
- "fill-color": "#c6dcdc"
- }
- },
- {
- "id": "landuse_wood",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "wood",
- "nature_reserve",
- "forest"
- ]
- ],
- "paint": {
- "fill-color": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 0,
- "#d0ded0",
- 12,
- "#a0d9a0"
- ]
- }
- },
- {
- "id": "landuse_scrub",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "in",
- "kind",
- "scrub",
- "grassland",
- "grass"
- ],
- "paint": {
- "fill-color": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 0,
- "#cedcd7",
- 12,
- "#99d2bb"
- ]
- }
- },
- {
- "id": "landuse_glacier",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "==",
- "kind",
- "glacier"
- ],
- "paint": {
- "fill-color": "#e7e7e7"
- }
- },
- {
- "id": "landuse_sand",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "==",
- "kind",
- "sand"
- ],
- "paint": {
- "fill-color": "#e2e0d7"
- }
- },
- {
- "id": "landuse_aerodrome",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "aerodrome"
- ]
- ],
- "paint": {
- "fill-color": "#dadbdf"
- }
- },
- {
- "id": "transit_runway",
- "type": "line",
- "source": "protomaps",
- "source-layer": "transit",
- "filter": [
- "any",
- [
- "in",
- "kind_detail",
- "runway"
- ]
- ],
- "paint": {
- "line-color": "#e9e9ed",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 10,
- 0,
- 12,
- 4,
- 18,
- 30
- ]
- }
- },
- {
- "id": "transit_taxiway",
- "type": "line",
- "source": "protomaps",
- "source-layer": "transit",
- "minzoom": 13,
- "filter": [
- "any",
- [
- "in",
- "kind_detail",
- "taxiway"
- ]
- ],
- "paint": {
- "line-color": "#e9e9ed",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 15,
- 6
- ]
- }
- },
- {
- "id": "water",
- "type": "fill",
- "filter": [
- "==",
- [
- "geometry-type"
- ],
- "Polygon"
- ],
- "source": "protomaps",
- "source-layer": "water",
- "paint": {
- "fill-color": "#80deea"
- }
- },
- {
- "id": "water_stream",
- "type": "line",
- "source": "protomaps",
- "source-layer": "water",
- "minzoom": 14,
- "filter": [
- "in",
- "kind",
- "stream"
- ],
- "paint": {
- "line-color": "#80deea",
- "line-width": 0.5
- }
- },
- {
- "id": "water_river",
- "type": "line",
- "source": "protomaps",
- "source-layer": "water",
- "minzoom": 9,
- "filter": [
- "in",
- "kind",
- "river"
- ],
- "paint": {
- "line-color": "#80deea",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 9,
- 0,
- 9.5,
- 1,
- 18,
- 12
- ]
- }
- },
- {
- "id": "landuse_pedestrian",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "==",
- "kind",
- "pedestrian"
- ]
- ],
- "paint": {
- "fill-color": "#e3e0d4"
- }
- },
- {
- "id": "landuse_pier",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "landuse",
- "filter": [
- "any",
- [
- "==",
- "kind",
- "pier"
- ]
- ],
- "paint": {
- "fill-color": "#e0e0e0"
- }
- },
- {
- "id": "roads_tunnels_other_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "in",
- "kind",
- "other",
- "path"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 14,
- 0,
- 20,
- 7
- ]
- }
- },
- {
- "id": "roads_tunnels_minor_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-dasharray": [
- 3,
- 2
- ],
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- 0,
- 12.5,
- 0.5,
- 15,
- 2,
- 18,
- 11
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 12,
- 0,
- 12.5,
- 1
- ]
- }
- },
- {
- "id": "roads_tunnels_link_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-dasharray": [
- 3,
- 2
- ],
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 18,
- 11
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 12,
- 0,
- 12.5,
- 1
- ]
- }
- },
- {
- "id": "roads_tunnels_medium_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "medium_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-dasharray": [
- 3,
- 2
- ],
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 0.5,
- 18,
- 13
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 10,
- 0,
- 10.5,
- 1
- ]
- }
- },
- {
- "id": "roads_tunnels_major_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-dasharray": [
- 3,
- 2
- ],
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 0.5,
- 18,
- 13
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 9,
- 0,
- 9.5,
- 1
- ]
- }
- },
- {
- "id": "roads_tunnels_highway_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-dasharray": [
- 6,
- 0.5
- ],
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 3.5,
- 0.5,
- 18,
- 15
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 1,
- 20,
- 15
- ]
- }
- },
- {
- "id": "roads_tunnels_other",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "in",
- "kind",
- "other",
- "path"
- ]
- ],
- "paint": {
- "line-color": "#d5d5d5",
- "line-dasharray": [
- 4.5,
- 0.5
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 14,
- 0,
- 20,
- 7
- ]
- }
- },
- {
- "id": "roads_tunnels_minor",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ]
- ],
- "paint": {
- "line-color": "#d5d5d5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- 0,
- 12.5,
- 0.5,
- 15,
- 2,
- 18,
- 11
- ]
- }
- },
- {
- "id": "roads_tunnels_link",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#d5d5d5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 18,
- 11
- ]
- }
- },
- {
- "id": "roads_tunnels_medium",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "medium_road"
- ]
- ],
- "paint": {
- "line-color": "#d5d5d5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 12,
- 1.2,
- 15,
- 3,
- 18,
- 13
- ]
- }
- },
- {
- "id": "roads_tunnels_major",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#d5d5d5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 6,
- 0,
- 12,
- 1.6,
- 15,
- 3,
- 18,
- 13
- ]
- }
- },
- {
- "id": "roads_tunnels_highway",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "<",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#d5d5d5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 6,
- 1.1,
- 12,
- 1.6,
- 15,
- 5,
- 18,
- 15
- ]
- }
- },
- {
- "id": "buildings",
- "type": "fill",
- "source": "protomaps",
- "source-layer": "buildings",
- "paint": {
- "fill-color": "#cccccc",
- "fill-opacity": 0.5
- }
- },
- {
- "id": "transit_pier",
- "type": "line",
- "source": "protomaps",
- "source-layer": "transit",
- "filter": [
- "any",
- [
- "==",
- "kind",
- "pier"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 12,
- 0,
- 12.5,
- 0.5,
- 20,
- 16
- ]
- }
- },
- {
- "id": "roads_minor_service_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 13,
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ],
- [
- "==",
- "kind_detail",
- "service"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 18,
- 8
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 0.8
- ]
- }
- },
- {
- "id": "roads_minor_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ],
- [
- "!=",
- "kind_detail",
- "service"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- 0,
- 12.5,
- 0.5,
- 15,
- 2,
- 18,
- 11
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 12,
- 0,
- 12.5,
- 1
- ]
- }
- },
- {
- "id": "roads_link_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 13,
- "filter": [
- "all",
- [
- "==",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 18,
- 11
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1.5
- ]
- }
- },
- {
- "id": "roads_medium_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "medium_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 12,
- 1.2,
- 15,
- 3,
- 18,
- 13
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 10,
- 0,
- 10.5,
- 1.5
- ]
- }
- },
- {
- "id": "roads_major_casing_late",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 6,
- 0,
- 12,
- 1.6,
- 15,
- 3,
- 18,
- 13
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 9,
- 0,
- 9.5,
- 1
- ]
- }
- },
- {
- "id": "roads_highway_casing_late",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 3.5,
- 0.5,
- 18,
- 15
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 1,
- 20,
- 15
- ]
- }
- },
- {
- "id": "roads_other",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "in",
- "kind",
- "other",
- "path"
- ]
- ],
- "paint": {
- "line-color": "#ebebeb",
- "line-dasharray": [
- 3,
- 1
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 14,
- 0,
- 20,
- 7
- ]
- }
- },
- {
- "id": "roads_link",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#ffffff",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 18,
- 11
- ]
- }
- },
- {
- "id": "roads_minor_service",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ],
- [
- "==",
- "kind_detail",
- "service"
- ]
- ],
- "paint": {
- "line-color": "#ebebeb",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 18,
- 8
- ]
- }
- },
- {
- "id": "roads_minor",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ],
- [
- "!=",
- "kind_detail",
- "service"
- ]
- ],
- "paint": {
- "line-color": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- "#ebebeb",
- 16,
- "#ffffff"
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- 0,
- 12.5,
- 0.5,
- 15,
- 2,
- 18,
- 11
- ]
- }
- },
- {
- "id": "roads_medium",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "medium_road"
- ]
- ],
- "paint": {
- "line-color": "#f5f5f5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 12,
- 1.2,
- 15,
- 3,
- 18,
- 13
- ]
- }
- },
- {
- "id": "roads_major_casing_early",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "maxzoom": 12,
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 0.5,
- 18,
- 13
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 9,
- 0,
- 9.5,
- 1
- ]
- }
- },
- {
- "id": "roads_major",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#ffffff",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 6,
- 0,
- 12,
- 1.6,
- 15,
- 3,
- 18,
- 13
- ]
- }
- },
- {
- "id": "roads_highway_casing_early",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "maxzoom": 12,
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 3.5,
- 0.5,
- 18,
- 15
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 1
- ]
- }
- },
- {
- "id": "roads_highway",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- "==",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#ffffff",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 6,
- 1.1,
- 12,
- 1.6,
- 15,
- 5,
- 18,
- 15
- ]
- }
- },
- {
- "id": "transit_railway",
- "type": "line",
- "source": "protomaps",
- "source-layer": "transit",
- "filter": [
- "all",
- [
- "==",
- "kind",
- "rail"
- ]
- ],
- "paint": {
- "line-dasharray": [
- 0.3,
- 0.75
- ],
- "line-opacity": 0.5,
- "line-color": "#a7b1b3",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 6,
- 0.15,
- 18,
- 9
- ]
- }
- },
- {
- "id": "boundaries_country",
- "type": "line",
- "source": "protomaps",
- "source-layer": "boundaries",
- "filter": [
- "<=",
- "min_admin_level",
- 2
- ],
- "paint": {
- "line-color": "#adadad",
- "line-width": 1,
- "line-dasharray": [
- 3,
- 2
- ]
- }
- },
- {
- "id": "boundaries",
- "type": "line",
- "source": "protomaps",
- "source-layer": "boundaries",
- "filter": [
- ">",
- "min_admin_level",
- 2
- ],
- "paint": {
- "line-color": "#adadad",
- "line-width": 0.5,
- "line-dasharray": [
- 3,
- 2
- ]
- }
- },
- {
- "id": "roads_bridges_other_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "in",
- "kind",
- "other",
- "path"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 14,
- 0,
- 20,
- 7
- ]
- }
- },
- {
- "id": "roads_bridges_link_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 18,
- 11
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 12,
- 0,
- 12.5,
- 1.5
- ]
- }
- },
- {
- "id": "roads_bridges_minor_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- 0,
- 12.5,
- 0.5,
- 15,
- 2,
- 18,
- 11
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 0.8
- ]
- }
- },
- {
- "id": "roads_bridges_medium_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "medium_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 12,
- 1.2,
- 15,
- 3,
- 18,
- 13
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 10,
- 0,
- 10.5,
- 1.5
- ]
- }
- },
- {
- "id": "roads_bridges_major_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 0.5,
- 18,
- 10
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 9,
- 0,
- 9.5,
- 1.5
- ]
- }
- },
- {
- "id": "roads_bridges_other",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "in",
- "kind",
- "other",
- "path"
- ]
- ],
- "paint": {
- "line-color": "#ebebeb",
- "line-dasharray": [
- 2,
- 1
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 14,
- 0,
- 20,
- 7
- ]
- }
- },
- {
- "id": "roads_bridges_minor",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "minor_road"
- ]
- ],
- "paint": {
- "line-color": "#ffffff",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 11,
- 0,
- 12.5,
- 0.5,
- 15,
- 2,
- 18,
- 11
- ]
- }
- },
- {
- "id": "roads_bridges_link",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#ffffff",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 13,
- 0,
- 13.5,
- 1,
- 18,
- 11
- ]
- }
- },
- {
- "id": "roads_bridges_medium",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "medium_road"
- ]
- ],
- "paint": {
- "line-color": "#f0eded",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 12,
- 1.2,
- 15,
- 3,
- 18,
- 13
- ]
- }
- },
- {
- "id": "roads_bridges_major",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "major_road"
- ]
- ],
- "paint": {
- "line-color": "#f5f5f5",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 6,
- 0,
- 12,
- 1.6,
- 15,
- 3,
- 18,
- 13
- ]
- }
- },
- {
- "id": "roads_bridges_highway_casing",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 12,
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#e0e0e0",
- "line-gap-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 3.5,
- 0.5,
- 18,
- 15
- ],
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 7,
- 0,
- 7.5,
- 1,
- 20,
- 15
- ]
- }
- },
- {
- "id": "roads_bridges_highway",
- "type": "line",
- "source": "protomaps",
- "source-layer": "roads",
- "filter": [
- "all",
- [
- ">",
- "level",
- 0
- ],
- [
- "==",
- "kind",
- "highway"
- ],
- [
- "!=",
- "link",
- 1
- ]
- ],
- "paint": {
- "line-color": "#ffffff",
- "line-width": [
- "interpolate",
- [
- "exponential",
- 1.6
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 6,
- 1.1,
- 12,
- 1.6,
- 15,
- 5,
- 18,
- 15
- ]
- }
- },
- {
- "id": "water_waterway_label",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "water",
- "minzoom": 13,
- "filter": [
- "all",
- [
- "in",
- "kind",
- "river",
- "stream"
- ]
- ],
- "layout": {
- "symbol-placement": "line",
- "text-font": [
- "Noto Sans Regular"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-size": 12,
- "text-letter-spacing": 0.3
- },
- "paint": {
- "text-color": "#ffffff"
- }
- },
- {
- "id": "pois_peak",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "pois",
- "filter": [
- "any",
- [
- "==",
- "kind",
- "peak"
- ]
- ],
- "layout": {
- "text-font": [
- "Noto Sans Italic"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-size": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 10,
- 8,
- 16,
- 12
- ],
- "text-letter-spacing": 0.1,
- "text-max-width": 9
- },
- "paint": {
- "text-color": "#7e9aa0",
- "text-halo-width": 1.5
- }
- },
- {
- "id": "roads_labels_minor",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 15,
- "filter": [
- "any",
- [
- "in",
- "kind",
- "minor_road",
- "other",
- "path"
- ]
- ],
- "layout": {
- "symbol-sort-key": [
- "get",
- "min_zoom"
- ],
- "symbol-placement": "line",
- "text-font": [
- "Noto Sans Regular"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-size": 12
- },
- "paint": {
- "text-color": "#91888b",
- "text-halo-color": "#ffffff",
- "text-halo-width": 2
- }
- },
- {
- "id": "water_label_ocean",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "water",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "sea",
- "ocean",
- "lake",
- "water",
- "bay",
- "strait",
- "fjord"
- ]
- ],
- "layout": {
- "text-font": [
- "Noto Sans Medium"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-size": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 3,
- 10,
- 10,
- 12
- ],
- "text-letter-spacing": 0.1,
- "text-max-width": 9,
- "text-transform": "uppercase"
- },
- "paint": {
- "text-color": "#ffffff"
- }
- },
- {
- "id": "water_label_lakes",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "water",
- "filter": [
- "any",
- [
- "in",
- "kind",
- "lake",
- "water"
- ]
- ],
- "layout": {
- "text-font": [
- "Noto Sans Medium"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-size": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 3,
- 0,
- 6,
- 12,
- 10,
- 12
- ],
- "text-letter-spacing": 0.1,
- "text-max-width": 9
- },
- "paint": {
- "text-color": "#ffffff"
- }
- },
- {
- "id": "roads_labels_major",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "roads",
- "minzoom": 11,
- "filter": [
- "any",
- [
- "in",
- "kind",
- "highway",
- "major_road",
- "medium_road"
- ]
- ],
- "layout": {
- "symbol-sort-key": [
- "get",
- "min_zoom"
- ],
- "symbol-placement": "line",
- "text-font": [
- "Noto Sans Regular"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-size": 12
- },
- "paint": {
- "text-color": "#938a8d",
- "text-halo-color": "#ffffff",
- "text-halo-width": 2
- }
- },
- {
- "id": "places_subplace",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "places",
- "filter": [
- "==",
- "kind",
- "neighbourhood"
- ],
- "layout": {
- "symbol-sort-key": [
- "get",
- "min_zoom"
- ],
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-font": [
- "Noto Sans Regular"
- ],
- "text-max-width": 7,
- "text-letter-spacing": 0.1,
- "text-padding": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 5,
- 2,
- 8,
- 4,
- 12,
- 18,
- 15,
- 20
- ],
- "text-size": [
- "interpolate",
- [
- "exponential",
- 1.2
- ],
- [
- "zoom"
- ],
- 11,
- 8,
- 14,
- 14,
- 18,
- 24
- ],
- "text-transform": "uppercase"
- },
- "paint": {
- "text-color": "#8f8f8f",
- "text-halo-color": "#e0e0e0",
- "text-halo-width": 1.5
- }
- },
- {
- "id": "places_locality",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "places",
- "filter": [
- "==",
- "kind",
- "locality"
- ],
- "layout": {
- "icon-image": [
- "step",
- [
- "zoom"
- ],
- "townspot",
- 8,
- ""
- ],
- "icon-size": 0.7,
- "text-field": [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ],
- "text-font": [
- "case",
- [
- "<=",
- [
- "get",
- "min_zoom"
- ],
- 5
- ],
- [
- "literal",
- [
- "Noto Sans Medium"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ],
- "text-padding": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 5,
- 3,
- 8,
- 7,
- 12,
- 11
- ],
- "text-size": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 2,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 13
- ],
- 8,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 13
- ],
- 13,
- 0
- ],
- 4,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 13
- ],
- 10,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 13
- ],
- 15,
- 0
- ],
- 6,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 12
- ],
- 11,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 12
- ],
- 17,
- 0
- ],
- 8,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 11
- ],
- 11,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 11
- ],
- 18,
- 0
- ],
- 10,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 9
- ],
- 12,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 9
- ],
- 20,
- 0
- ],
- 15,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 8
- ],
- 12,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 8
- ],
- 22,
- 0
- ]
- ],
- "icon-padding": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 0,
- 0,
- 8,
- 4,
- 10,
- 8,
- 12,
- 6,
- 22,
- 2
- ],
- "text-anchor": [
- "step",
- [
- "zoom"
- ],
- "left",
- 8,
- "center"
- ],
- "text-radial-offset": 0.4
- },
- "paint": {
- "text-color": "#5c5c5c",
- "text-halo-color": "#e0e0e0",
- "text-halo-width": 1
- }
- },
- {
- "id": "places_region",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "places",
- "filter": [
- "==",
- "kind",
- "region"
- ],
- "layout": {
- "symbol-sort-key": [
- "get",
- "min_zoom"
- ],
- "text-field": [
- "step",
- [
- "zoom"
- ],
- [
- "get",
- "name:short"
- ],
- 6,
- [
- "case",
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "has",
- "script"
- ],
- [
- "case",
- [
- "any",
- [
- "is-supported-script",
- [
- "get",
- "name"
- ]
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {},
- "\n",
- {},
- [
- "case",
- [
- "all",
- [
- "!",
- [
- "has",
- "name:en"
- ]
- ],
- [
- "has",
- "name:en"
- ],
- [
- "!",
- [
- "has",
- "script"
- ]
- ]
- ],
- "",
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "get",
- "name:en"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {}
- ]
- ],
- [
- "all",
- [
- "any",
- [
- "has",
- "name"
- ],
- [
- "has",
- "pgf:name"
- ]
- ],
- [
- "any",
- [
- "has",
- "name2"
- ],
- [
- "has",
- "pgf:name2"
- ]
- ],
- [
- "!",
- [
- "any",
- [
- "has",
- "name3"
- ],
- [
- "has",
- "pgf:name3"
- ]
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "has",
- "script2"
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ],
- [
- "case",
- [
- "all",
- [
- "has",
- "script"
- ],
- [
- "has",
- "script2"
- ],
- [
- "has",
- "script3"
- ]
- ],
- [
- "format",
- [
- "get",
- "name:en"
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "case",
- [
- "!",
- [
- "has",
- "script"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "!",
- [
- "has",
- "script2"
- ]
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script3"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ],
- [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "pgf:name3"
- ],
- [
- "get",
- "name3"
- ]
- ],
- {},
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name"
- ],
- [
- "get",
- "name"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- },
- "\n",
- {},
- [
- "coalesce",
- [
- "get",
- "pgf:name2"
- ],
- [
- "get",
- "name2"
- ]
- ],
- {
- "text-font": [
- "case",
- [
- "==",
- [
- "get",
- "script2"
- ],
- "Devanagari"
- ],
- [
- "literal",
- [
- "Noto Sans Devanagari Regular v1"
- ]
- ],
- [
- "literal",
- [
- "Noto Sans Regular"
- ]
- ]
- ]
- }
- ]
- ]
- ]
- ]
- ],
- "text-font": [
- "Noto Sans Regular"
- ],
- "text-size": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 3,
- 11,
- 7,
- 16
- ],
- "text-radial-offset": 0.2,
- "text-anchor": "center",
- "text-transform": "uppercase"
- },
- "paint": {
- "text-color": "#b3b3b3",
- "text-halo-color": "#e0e0e0",
- "text-halo-width": 2
- }
- },
- {
- "id": "places_country",
- "type": "symbol",
- "source": "protomaps",
- "source-layer": "places",
- "filter": [
- "==",
- "kind",
- "country"
- ],
- "layout": {
- "symbol-sort-key": [
- "get",
- "min_zoom"
- ],
- "text-field": [
- "format",
- [
- "coalesce",
- [
- "get",
- "name:en"
- ],
- [
- "get",
- "name:en"
- ]
- ],
- {}
- ],
- "text-font": [
- "Noto Sans Medium"
- ],
- "text-size": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 2,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 10
- ],
- 8,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 10
- ],
- 12,
- 0
- ],
- 6,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 8
- ],
- 10,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 8
- ],
- 18,
- 0
- ],
- 8,
- [
- "case",
- [
- "<",
- [
- "get",
- "population_rank"
- ],
- 7
- ],
- 11,
- [
- ">=",
- [
- "get",
- "population_rank"
- ],
- 7
- ],
- 20,
- 0
- ]
- ],
- "icon-padding": [
- "interpolate",
- [
- "linear"
- ],
- [
- "zoom"
- ],
- 0,
- 2,
- 14,
- 2,
- 16,
- 20,
- 17,
- 2,
- 22,
- 2
- ],
- "text-transform": "uppercase"
- },
- "paint": {
- "text-color": "#a3a3a3"
- }
- }
- ],
+ {
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "hsl(20, 20%, 95%)"
+ }
+ },
+ {
+ "id": "earth",
+ "type": "fill",
+ "filter": [
+ "==",
+ [
+ "geometry-type"
+ ],
+ "Polygon"
+ ],
+ "source": "protomaps",
+ "source-layer": "earth",
+ "paint": {
+ "fill-color": "hsl(20, 18%, 91%)"
+ }
+ },
+ {
+ "id": "landuse_park",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "national_park",
+ "park",
+ "cemetery",
+ "protected_area",
+ "nature_reserve",
+ "forest",
+ "golf_course"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "hsl(110, 60%, 80%)",
+ 12,
+ "hsl(110, 60%, 80%)"
+ ]
+ }
+ },
+ {
+ "id": "landuse_urban_green",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "allotments",
+ "village_green",
+ "playground"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(110, 55%, 88%)",
+ "fill-opacity": 0.7
+ }
+ },
+ {
+ "id": "landuse_hospital",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "kind",
+ "hospital"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(0, 50%, 92%)"
+ }
+ },
+ {
+ "id": "landuse_industrial",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "kind",
+ "industrial"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(20, 12%, 87%)"
+ }
+ },
+ {
+ "id": "landuse_school",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "school",
+ "university",
+ "college"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(40, 50%, 88%)"
+ }
+ },
+ {
+ "id": "landuse_beach",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "beach"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(52, 65%, 86%)"
+ }
+ },
+ {
+ "id": "landuse_zoo",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "zoo"
+ ]
+ ],
+ "paint": {
+ "fill-color": "#c6dcdc"
+ }
+ },
+ {
+ "id": "landuse_military",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "military",
+ "naval_base",
+ "airfield"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(225, 60%, 92%)"
+ }
+ },
+ {
+ "id": "landuse_wood",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "wood",
+ "nature_reserve",
+ "forest"
+ ]
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#d0ded0",
+ 12,
+ "hsl(115, 55%, 74%)"
+ ]
+ }
+ },
+ {
+ "id": "landuse_scrub",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "in",
+ "kind",
+ "scrub",
+ "grassland",
+ "grass"
+ ],
+ "paint": {
+ "fill-color": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ "#cedcd7",
+ 12,
+ "hsl(110, 52%, 82%)"
+ ]
+ }
+ },
+ {
+ "id": "landuse_glacier",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "==",
+ "kind",
+ "glacier"
+ ],
+ "paint": {
+ "fill-color": "hsl(200, 70%, 90%)"
+ }
+ },
+ {
+ "id": "landuse_sand",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "==",
+ "kind",
+ "sand"
+ ],
+ "paint": {
+ "fill-color": "hsl(52, 65%, 86%)"
+ }
+ },
+ {
+ "id": "landuse_aerodrome",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "aerodrome"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(225, 60%, 92%)"
+ }
+ },
+ {
+ "id": "transit_runway",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind_detail",
+ "runway"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(225, 52%, 87%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 12,
+ 4,
+ 18,
+ 30
+ ]
+ }
+ },
+ {
+ "id": "transit_taxiway",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "transit",
+ "minzoom": 13,
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind_detail",
+ "taxiway"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(225, 52%, 87%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 15,
+ 6
+ ]
+ }
+ },
+ {
+ "id": "water",
+ "type": "fill",
+ "filter": [
+ "==",
+ [
+ "geometry-type"
+ ],
+ "Polygon"
+ ],
+ "source": "protomaps",
+ "source-layer": "water",
+ "paint": {
+ "fill-color": "hsl(200, 100%, 80%)"
+ }
+ },
+ {
+ "id": "water_stream",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "water",
+ "minzoom": 14,
+ "filter": [
+ "in",
+ "kind",
+ "stream"
+ ],
+ "paint": {
+ "line-color": "hsl(200, 100%, 80%)",
+ "line-width": 0.5
+ }
+ },
+ {
+ "id": "water_river",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "water",
+ "minzoom": 9,
+ "filter": [
+ "in",
+ "kind",
+ "river"
+ ],
+ "paint": {
+ "line-color": "hsl(200, 100%, 80%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1,
+ 18,
+ 12
+ ]
+ }
+ },
+ {
+ "id": "landuse_pedestrian",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "kind",
+ "pedestrian"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(20, 20%, 94%)"
+ }
+ },
+ {
+ "id": "landuse_pier",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "landuse",
+ "filter": [
+ "any",
+ [
+ "==",
+ "kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "fill-color": "hsl(20, 32%, 95%)"
+ }
+ },
+ {
+ "id": "roads_tunnels_other_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "in",
+ "kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 13%, 72%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 13%, 72%)",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 85%)",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 13%, 72%)",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 13%, 72%)",
+ "line-dasharray": [
+ 3,
+ 2
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [
+ 6,
+ 0.5
+ ],
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_other",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "in",
+ "kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [
+ 4.5,
+ 0.5
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_minor",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_link",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_medium",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_major",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_tunnels_highway",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "<",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "buildings",
+ "type": "fill",
+ "source": "protomaps",
+ "source-layer": "buildings",
+ "paint": {
+ "fill-color": "hsl(20, 15%, 85%)",
+ "fill-opacity": 0.5
+ }
+ },
+ {
+ "id": "transit_pier",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "transit",
+ "filter": [
+ "any",
+ [
+ "==",
+ "kind",
+ "pier"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(35, 25%, 82%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 0.5,
+ 20,
+ 16
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 85%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 85%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_link_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "==",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_medium_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 85%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_late",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 85%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_late",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_other",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "in",
+ "kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [
+ 3,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_link",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_minor_service",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ],
+ [
+ "==",
+ "kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 18,
+ 8
+ ]
+ }
+ },
+ {
+ "id": "roads_minor",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ],
+ [
+ "!=",
+ "kind_detail",
+ "service"
+ ]
+ ],
+ "paint": {
+ "line-color": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ "hsl(0, 0%, 100%)",
+ 16,
+ "hsl(0, 0%, 100%)"
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_medium",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_major_casing_early",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_major",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_highway_casing_early",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "maxzoom": 12,
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1
+ ]
+ }
+ },
+ {
+ "id": "roads_highway",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ "==",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "transit_railway",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "transit",
+ "filter": [
+ "all",
+ [
+ "==",
+ "kind",
+ "rail"
+ ]
+ ],
+ "paint": {
+ "line-dasharray": [
+ 0.3,
+ 0.75
+ ],
+ "line-opacity": 0.5,
+ "line-color": "hsl(35, 25%, 82%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 0.15,
+ 18,
+ 9
+ ]
+ }
+ },
+ {
+ "id": "boundaries_country",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "boundaries",
+ "filter": [
+ "<=",
+ "min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "hsl(240, 50%, 65%)",
+ "line-width": 1,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "boundaries",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "boundaries",
+ "filter": [
+ ">",
+ "min_admin_level",
+ 2
+ ],
+ "paint": {
+ "line-color": "#adadad",
+ "line-width": 0.5,
+ "line-dasharray": [
+ 3,
+ 2
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "in",
+ "kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 12,
+ 0,
+ 12.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 0.8
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 0,
+ 10.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(220, 20%, 97%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 0.5,
+ 18,
+ 10
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 9,
+ 0,
+ 9.5,
+ 1.5
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_other",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "in",
+ "kind",
+ "other",
+ "path"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [
+ 2,
+ 1
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 14,
+ 0,
+ 20,
+ 7
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_minor",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "minor_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 0,
+ 12.5,
+ 0.5,
+ 15,
+ 2,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_link",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 13,
+ 0,
+ 13.5,
+ 1,
+ 18,
+ 11
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_medium",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "medium_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 12,
+ 1.2,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_major",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "major_road"
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 6,
+ 0,
+ 12,
+ 1.6,
+ 15,
+ 3,
+ 18,
+ 13
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway_casing",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 12,
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-gap-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 3.5,
+ 0.5,
+ 18,
+ 15
+ ],
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 7,
+ 0,
+ 7.5,
+ 1,
+ 20,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "roads_bridges_highway",
+ "type": "line",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "filter": [
+ "all",
+ [
+ ">",
+ "level",
+ 0
+ ],
+ [
+ "==",
+ "kind",
+ "highway"
+ ],
+ [
+ "!=",
+ "link",
+ 1
+ ]
+ ],
+ "paint": {
+ "line-color": "hsl(40, 90%, 70%)",
+ "line-width": [
+ "interpolate",
+ [
+ "exponential",
+ 1.6
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 1.1,
+ 12,
+ 1.6,
+ 15,
+ 5,
+ 18,
+ 15
+ ]
+ }
+ },
+ {
+ "id": "water_waterway_label",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "water",
+ "minzoom": 13,
+ "filter": [
+ "all",
+ [
+ "in",
+ "kind",
+ "river",
+ "stream"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "text-font": [
+ "Noto Sans Regular"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-size": 12,
+ "text-letter-spacing": 0.3
+ },
+ "paint": {
+ "text-color": "#ffffff"
+ }
+ },
+ {
+ "id": "pois_peak",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "pois",
+ "filter": [
+ "any",
+ [
+ "==",
+ "kind",
+ "peak"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Noto Sans Italic"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 10,
+ 8,
+ 16,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#7e9aa0",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "roads_labels_minor",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 15,
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "minor_road",
+ "other",
+ "path"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Noto Sans Regular"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#91888b",
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "water_label_ocean",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "water",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "sea",
+ "ocean",
+ "lake",
+ "water",
+ "bay",
+ "strait",
+ "fjord"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Noto Sans Medium"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 10,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9,
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#ffffff"
+ }
+ },
+ {
+ "id": "water_label_lakes",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "water",
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "lake",
+ "water"
+ ]
+ ],
+ "layout": {
+ "text-font": [
+ "Noto Sans Medium"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 0,
+ 6,
+ 12,
+ 10,
+ 12
+ ],
+ "text-letter-spacing": 0.1,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "#ffffff"
+ }
+ },
+ {
+ "id": "roads_labels_major",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "roads",
+ "minzoom": 11,
+ "filter": [
+ "any",
+ [
+ "in",
+ "kind",
+ "highway",
+ "major_road",
+ "medium_road"
+ ]
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "min_zoom"
+ ],
+ "symbol-placement": "line",
+ "text-font": [
+ "Noto Sans Regular"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-size": 12
+ },
+ "paint": {
+ "text-color": "#938a8d",
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_subplace",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "kind",
+ "neighbourhood"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "min_zoom"
+ ],
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-font": [
+ "Noto Sans Regular"
+ ],
+ "text-max-width": 7,
+ "text-letter-spacing": 0.1,
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 2,
+ 8,
+ 4,
+ 12,
+ 18,
+ 15,
+ 20
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "exponential",
+ 1.2
+ ],
+ [
+ "zoom"
+ ],
+ 11,
+ 8,
+ 14,
+ 14,
+ 18,
+ 24
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#8f8f8f",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 1.5
+ }
+ },
+ {
+ "id": "places_locality",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "kind",
+ "locality"
+ ],
+ "layout": {
+ "icon-image": [
+ "step",
+ [
+ "zoom"
+ ],
+ "townspot",
+ 8,
+ ""
+ ],
+ "icon-size": 0.7,
+ "text-field": [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ],
+ "text-font": [
+ "case",
+ [
+ "<=",
+ [
+ "get",
+ "min_zoom"
+ ],
+ 5
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Medium"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ],
+ "text-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 5,
+ 3,
+ 8,
+ 7,
+ 12,
+ 11
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 13
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 13
+ ],
+ 13,
+ 0
+ ],
+ 4,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 13
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 13
+ ],
+ 15,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 12
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 12
+ ],
+ 17,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 11
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 11
+ ],
+ 18,
+ 0
+ ],
+ 10,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 9
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 9
+ ],
+ 20,
+ 0
+ ],
+ 15,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 8
+ ],
+ 12,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 8
+ ],
+ 22,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 0,
+ 8,
+ 4,
+ 10,
+ 8,
+ 12,
+ 6,
+ 22,
+ 2
+ ],
+ "text-anchor": [
+ "step",
+ [
+ "zoom"
+ ],
+ "left",
+ 8,
+ "center"
+ ],
+ "text-radial-offset": 0.4
+ },
+ "paint": {
+ "text-color": "#5c5c5c",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "places_region",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "kind",
+ "region"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "min_zoom"
+ ],
+ "text-field": [
+ "step",
+ [
+ "zoom"
+ ],
+ [
+ "get",
+ "name:short"
+ ],
+ 6,
+ [
+ "case",
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "case",
+ [
+ "any",
+ [
+ "is-supported-script",
+ [
+ "get",
+ "name"
+ ]
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "case",
+ [
+ "all",
+ [
+ "!",
+ [
+ "has",
+ "name:en"
+ ]
+ ],
+ [
+ "has",
+ "name:en"
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ]
+ ],
+ "",
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {}
+ ]
+ ],
+ [
+ "all",
+ [
+ "any",
+ [
+ "has",
+ "name"
+ ],
+ [
+ "has",
+ "pgf:name"
+ ]
+ ],
+ [
+ "any",
+ [
+ "has",
+ "name2"
+ ],
+ [
+ "has",
+ "pgf:name2"
+ ]
+ ],
+ [
+ "!",
+ [
+ "any",
+ [
+ "has",
+ "name3"
+ ],
+ [
+ "has",
+ "pgf:name3"
+ ]
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ],
+ [
+ "case",
+ [
+ "all",
+ [
+ "has",
+ "script"
+ ],
+ [
+ "has",
+ "script2"
+ ],
+ [
+ "has",
+ "script3"
+ ]
+ ],
+ [
+ "format",
+ [
+ "get",
+ "name:en"
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "case",
+ [
+ "!",
+ [
+ "has",
+ "script"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "!",
+ [
+ "has",
+ "script2"
+ ]
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script3"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ],
+ [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "pgf:name3"
+ ],
+ [
+ "get",
+ "name3"
+ ]
+ ],
+ {},
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name"
+ ],
+ [
+ "get",
+ "name"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ },
+ "\n",
+ {},
+ [
+ "coalesce",
+ [
+ "get",
+ "pgf:name2"
+ ],
+ [
+ "get",
+ "name2"
+ ]
+ ],
+ {
+ "text-font": [
+ "case",
+ [
+ "==",
+ [
+ "get",
+ "script2"
+ ],
+ "Devanagari"
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Devanagari Regular v1"
+ ]
+ ],
+ [
+ "literal",
+ [
+ "Noto Sans Regular"
+ ]
+ ]
+ ]
+ }
+ ]
+ ]
+ ]
+ ]
+ ],
+ "text-font": [
+ "Noto Sans Regular"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 3,
+ 11,
+ 7,
+ 16
+ ],
+ "text-radial-offset": 0.2,
+ "text-anchor": "center",
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#b3b3b3",
+ "text-halo-color": "#e0e0e0",
+ "text-halo-width": 2
+ }
+ },
+ {
+ "id": "places_country",
+ "type": "symbol",
+ "source": "protomaps",
+ "source-layer": "places",
+ "filter": [
+ "==",
+ "kind",
+ "country"
+ ],
+ "layout": {
+ "symbol-sort-key": [
+ "get",
+ "min_zoom"
+ ],
+ "text-field": [
+ "format",
+ [
+ "coalesce",
+ [
+ "get",
+ "name:en"
+ ],
+ [
+ "get",
+ "name:en"
+ ]
+ ],
+ {}
+ ],
+ "text-font": [
+ "Noto Sans Medium"
+ ],
+ "text-size": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 2,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 10
+ ],
+ 8,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 10
+ ],
+ 12,
+ 0
+ ],
+ 6,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 8
+ ],
+ 10,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 8
+ ],
+ 18,
+ 0
+ ],
+ 8,
+ [
+ "case",
+ [
+ "<",
+ [
+ "get",
+ "population_rank"
+ ],
+ 7
+ ],
+ 11,
+ [
+ ">=",
+ [
+ "get",
+ "population_rank"
+ ],
+ 7
+ ],
+ 20,
+ 0
+ ]
+ ],
+ "icon-padding": [
+ "interpolate",
+ [
+ "linear"
+ ],
+ [
+ "zoom"
+ ],
+ 0,
+ 2,
+ 14,
+ 2,
+ 16,
+ 20,
+ 17,
+ 2,
+ 22,
+ 2
+ ],
+ "text-transform": "uppercase"
+ },
+ "paint": {
+ "text-color": "#a3a3a3"
+ }
+ }
+ ],
}
});
map.addControl(new maplibregl.ScaleControl({unit: 'imperial'}), 'bottom-right');