@unovis/ts 1.1.1-beta.5 → 1.1.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declaration.d.ts +1 -0
- package/index.ts +1 -0
- package/licences.txt +43 -0
- package/maps.ts +1 -0
- package/package.json +1 -1
- package/rollup.config.js +71 -0
- package/rules/ts-getter-setter.js +35 -0
- package/src/components/area/config.ts +29 -0
- package/src/components/area/index.ts +133 -0
- package/{components/area/style.js → src/components/area/style.ts} +9 -10
- package/src/components/area/types.ts +2 -0
- package/src/components/axis/config.ts +76 -0
- package/src/components/axis/index.ts +363 -0
- package/{components/axis/style.js → src/components/axis/style.ts} +27 -22
- package/src/components/axis/types.ts +4 -0
- package/src/components/brush/config.ts +51 -0
- package/src/components/brush/index.ts +233 -0
- package/{components/brush/style.js → src/components/brush/style.ts} +15 -14
- package/src/components/brush/types.ts +8 -0
- package/src/components/bullet-legend/config.ts +38 -0
- package/src/components/bullet-legend/index.ts +104 -0
- package/{components/bullet-legend/style.js → src/components/bullet-legend/style.ts} +18 -16
- package/src/components/bullet-legend/types.ts +7 -0
- package/src/components/chord-diagram/config.ts +53 -0
- package/src/components/chord-diagram/index.ts +401 -0
- package/src/components/chord-diagram/modules/label.ts +155 -0
- package/src/components/chord-diagram/modules/link.ts +91 -0
- package/src/components/chord-diagram/modules/node.ts +80 -0
- package/{components/chord-diagram/style.js → src/components/chord-diagram/style.ts} +39 -30
- package/src/components/chord-diagram/types.ts +68 -0
- package/src/components/crosshair/config.ts +48 -0
- package/src/components/crosshair/index.ts +220 -0
- package/{components/crosshair/style.js → src/components/crosshair/style.ts} +12 -12
- package/src/components/crosshair/types.ts +15 -0
- package/src/components/donut/config.ts +65 -0
- package/src/components/donut/index.ts +148 -0
- package/src/components/donut/modules/arc.ts +86 -0
- package/{components/donut/style.js → src/components/donut/style.ts} +20 -18
- package/src/components/donut/types.ts +17 -0
- package/src/components/flow-legend/config.ts +31 -0
- package/src/components/flow-legend/index.ts +103 -0
- package/{components/flow-legend/style.js → src/components/flow-legend/style.ts} +25 -21
- package/src/components/flow-legend/types.ts +10 -0
- package/src/components/free-brush/config.ts +54 -0
- package/src/components/free-brush/index.ts +207 -0
- package/{components/free-brush/style.js → src/components/free-brush/style.ts} +12 -12
- package/src/components/free-brush/types.ts +8 -0
- package/src/components/graph/config.ts +280 -0
- package/src/components/graph/index.ts +809 -0
- package/src/components/graph/modules/layout-helpers.ts +96 -0
- package/src/components/graph/modules/layout.ts +502 -0
- package/src/components/graph/modules/link/helper.ts +105 -0
- package/src/components/graph/modules/link/index.ts +302 -0
- package/{components/graph/modules/link/style.js → src/components/graph/modules/link/style.ts} +45 -34
- package/src/components/graph/modules/node/helper.ts +162 -0
- package/src/components/graph/modules/node/index.ts +343 -0
- package/{components/graph/modules/node/style.js → src/components/graph/modules/node/style.ts} +72 -52
- package/src/components/graph/modules/panel/helper.ts +160 -0
- package/src/components/graph/modules/panel/index.ts +137 -0
- package/{components/graph/modules/panel/style.js → src/components/graph/modules/panel/style.ts} +42 -32
- package/src/components/graph/modules/shape.ts +108 -0
- package/src/components/graph/modules/zoom-levels.ts +6 -0
- package/src/components/graph/style.ts +72 -0
- package/src/components/graph/types.ts +152 -0
- package/src/components/grouped-bar/config.ts +40 -0
- package/src/components/grouped-bar/index.ts +325 -0
- package/{components/grouped-bar/style.js → src/components/grouped-bar/style.ts} +15 -14
- package/src/components/leaflet-flow-map/config.ts +60 -0
- package/src/components/leaflet-flow-map/index.ts +279 -0
- package/src/components/leaflet-flow-map/renderer-utils.ts +14 -0
- package/src/components/leaflet-flow-map/renderer.ts +146 -0
- package/{components/leaflet-flow-map/shaders.js → src/components/leaflet-flow-map/shaders.ts} +4 -7
- package/src/components/leaflet-flow-map/types.ts +18 -0
- package/src/components/leaflet-map/config.ts +234 -0
- package/src/components/leaflet-map/index.ts +808 -0
- package/src/components/leaflet-map/leaflet.css +625 -0
- package/src/components/leaflet-map/modules/clusterBackground.ts +34 -0
- package/src/components/leaflet-map/modules/donut.ts +37 -0
- package/src/components/leaflet-map/modules/map.ts +178 -0
- package/src/components/leaflet-map/modules/node.ts +208 -0
- package/src/components/leaflet-map/modules/selectionRing.ts +63 -0
- package/src/components/leaflet-map/modules/utils.ts +290 -0
- package/{components → src/components}/leaflet-map/renderer/leaflet-maplibre-gl.js +76 -78
- package/src/components/leaflet-map/renderer/map-style.ts +24 -0
- package/src/components/leaflet-map/renderer/mapboxgl/mapboxgl-dark-theme.json +35 -0
- package/src/components/leaflet-map/renderer/mapboxgl/mapboxgl-light-theme.json +35 -0
- package/src/components/leaflet-map/renderer/mapboxgl/mapboxgl-settings.json +2185 -0
- package/src/components/leaflet-map/renderer/mapboxgl-layer.ts +43 -0
- package/src/components/leaflet-map/renderer/mapboxgl-utils.ts +40 -0
- package/{components → src/components}/leaflet-map/renderer/maplibre-gl.css.js +2 -4
- package/src/components/leaflet-map/style.ts +217 -0
- package/src/components/leaflet-map/types.ts +75 -0
- package/src/components/line/config.ts +34 -0
- package/src/components/line/index.ts +188 -0
- package/{components/line/style.js → src/components/line/style.ts} +18 -16
- package/src/components/line/types.ts +3 -0
- package/src/components/nested-donut/config.ts +75 -0
- package/src/components/nested-donut/index.ts +176 -0
- package/src/components/nested-donut/modules/arc.ts +78 -0
- package/src/components/nested-donut/modules/label.ts +63 -0
- package/src/components/nested-donut/style.ts +82 -0
- package/src/components/nested-donut/types.ts +29 -0
- package/src/components/sankey/config.ts +195 -0
- package/src/components/sankey/index.ts +387 -0
- package/src/components/sankey/modules/label.ts +228 -0
- package/src/components/sankey/modules/link.ts +141 -0
- package/src/components/sankey/modules/node.ts +221 -0
- package/{components/sankey/style.js → src/components/sankey/style.ts} +60 -44
- package/src/components/sankey/types.ts +95 -0
- package/src/components/scatter/config.ts +49 -0
- package/src/components/scatter/index.ts +220 -0
- package/src/components/scatter/modules/point.ts +123 -0
- package/src/components/scatter/modules/utils.ts +150 -0
- package/{components/scatter/style.js → src/components/scatter/style.ts} +15 -14
- package/src/components/scatter/types.ts +21 -0
- package/src/components/stacked-bar/config.ts +42 -0
- package/src/components/stacked-bar/index.ts +267 -0
- package/{components/stacked-bar/style.js → src/components/stacked-bar/style.ts} +15 -14
- package/src/components/stacked-bar/types.ts +5 -0
- package/src/components/timeline/config.ts +49 -0
- package/src/components/timeline/index.ts +302 -0
- package/{components/timeline/style.js → src/components/timeline/style.ts} +39 -30
- package/src/components/tooltip/config.ts +69 -0
- package/src/components/tooltip/index.ts +220 -0
- package/{components → src/components}/tooltip/style.js +11 -14
- package/src/components/topojson-map/config.ts +124 -0
- package/src/components/topojson-map/index.ts +436 -0
- package/{components/topojson-map/style.js → src/components/topojson-map/style.ts} +33 -26
- package/src/components/topojson-map/types.ts +123 -0
- package/src/components/topojson-map/utils.ts +29 -0
- package/src/components/vis-controls/config.ts +16 -0
- package/src/components/vis-controls/index.ts +68 -0
- package/{components/vis-controls/style.js → src/components/vis-controls/style.ts} +34 -27
- package/src/components/vis-controls/types.ts +14 -0
- package/src/components/xy-labels/config.ts +56 -0
- package/src/components/xy-labels/index.ts +109 -0
- package/src/components/xy-labels/modules/label.ts +140 -0
- package/{components/xy-labels/style.js → src/components/xy-labels/style.ts} +15 -14
- package/src/components/xy-labels/types.ts +26 -0
- package/src/components.ts +56 -0
- package/src/containers/single-container/config.ts +15 -0
- package/src/containers/single-container/index.ts +150 -0
- package/src/containers/xy-container/config.ts +112 -0
- package/src/containers/xy-container/index.ts +407 -0
- package/src/containers.ts +6 -0
- package/src/core/component/config.ts +61 -0
- package/src/core/component/index.ts +154 -0
- package/src/core/component/types.ts +9 -0
- package/src/core/config/index.ts +12 -0
- package/src/core/container/config.ts +56 -0
- package/src/core/container/index.ts +136 -0
- package/src/core/xy-component/config.ts +46 -0
- package/src/core/xy-component/index.ts +90 -0
- package/src/data-models/core.ts +15 -0
- package/src/data-models/graph.ts +138 -0
- package/src/data-models/map-graph.ts +72 -0
- package/src/data-models/map.ts +18 -0
- package/src/data-models/series.ts +16 -0
- package/src/index.ts +7 -0
- package/src/maps/china-provinces.json +1 -0
- package/src/maps/fr-regions.json +1 -0
- package/src/maps/germany-regions.json +1 -0
- package/src/maps/ind-regions.json +1 -0
- package/src/maps/uk-regions.json +1 -0
- package/src/maps/us-counties.json +1 -0
- package/src/maps/us-states.json +1 -0
- package/src/maps/world-110m-alpha.json +1 -0
- package/src/maps/world-simple.json +1 -0
- package/src/maps/world-simplest.json +1 -0
- package/src/maps.ts +34 -0
- package/src/styles/colors.ts +28 -0
- package/src/styles/index.ts +38 -0
- package/{styles/sizes.js → src/styles/sizes.ts} +6 -8
- package/src/types/accessor.ts +5 -0
- package/src/types/component.ts +15 -0
- package/src/types/curve.ts +62 -0
- package/src/types/data.ts +5 -0
- package/src/types/direction.ts +6 -0
- package/src/types/graph.ts +40 -0
- package/src/types/map.ts +5 -0
- package/src/types/misc.ts +10 -0
- package/src/types/position.ts +23 -0
- package/src/types/scale.ts +47 -0
- package/src/types/shape.ts +7 -0
- package/src/types/spacing.ts +6 -0
- package/src/types/svg.ts +32 -0
- package/src/types/symbol.ts +21 -0
- package/src/types/text.ts +71 -0
- package/src/types.ts +31 -0
- package/src/utils/color.ts +41 -0
- package/src/utils/d3.ts +15 -0
- package/src/utils/data.ts +328 -0
- package/src/utils/html.ts +13 -0
- package/src/utils/map.ts +29 -0
- package/src/utils/misc.ts +54 -0
- package/src/utils/path.ts +196 -0
- package/src/utils/scale.ts +1 -0
- package/src/utils/style.ts +37 -0
- package/src/utils/svg.ts +49 -0
- package/src/utils/text.ts +529 -0
- package/src/utils/type.ts +9 -0
- package/tsconfig.json +29 -0
- package/components/area/config.d.ts +0 -25
- package/components/area/config.js +0 -16
- package/components/area/config.js.map +0 -1
- package/components/area/index.d.ts +0 -19
- package/components/area/index.js +0 -102
- package/components/area/index.js.map +0 -1
- package/components/area/style.d.ts +0 -3
- package/components/area/style.js.map +0 -1
- package/components/area/types.d.ts +0 -6
- package/components/axis/config.d.ts +0 -71
- package/components/axis/config.js +0 -32
- package/components/axis/config.js.map +0 -1
- package/components/axis/index.d.ts +0 -44
- package/components/axis/index.js +0 -305
- package/components/axis/index.js.map +0 -1
- package/components/axis/style.d.ts +0 -9
- package/components/axis/style.js.map +0 -1
- package/components/axis/types.d.ts +0 -4
- package/components/axis/types.js +0 -8
- package/components/axis/types.js.map +0 -1
- package/components/brush/config.d.ts +0 -42
- package/components/brush/config.js +0 -24
- package/components/brush/config.js.map +0 -1
- package/components/brush/index.d.ts +0 -28
- package/components/brush/index.js +0 -199
- package/components/brush/index.js.map +0 -1
- package/components/brush/style.d.ts +0 -5
- package/components/brush/style.js.map +0 -1
- package/components/brush/types.d.ts +0 -7
- package/components/brush/types.js +0 -8
- package/components/brush/types.js.map +0 -1
- package/components/bullet-legend/config.d.ts +0 -34
- package/components/bullet-legend/config.js +0 -16
- package/components/bullet-legend/config.js.map +0 -1
- package/components/bullet-legend/index.d.ts +0 -19
- package/components/bullet-legend/index.js +0 -79
- package/components/bullet-legend/index.js.map +0 -1
- package/components/bullet-legend/style.d.ts +0 -6
- package/components/bullet-legend/style.js.map +0 -1
- package/components/bullet-legend/types.d.ts +0 -7
- package/components/bullet-legend/types.js +0 -2
- package/components/bullet-legend/types.js.map +0 -1
- package/components/chord-diagram/config.d.ts +0 -44
- package/components/chord-diagram/config.js +0 -25
- package/components/chord-diagram/config.js.map +0 -1
- package/components/chord-diagram/index.d.ts +0 -42
- package/components/chord-diagram/index.js +0 -305
- package/components/chord-diagram/index.js.map +0 -1
- package/components/chord-diagram/modules/label.d.ts +0 -8
- package/components/chord-diagram/modules/label.js +0 -115
- package/components/chord-diagram/modules/label.js.map +0 -1
- package/components/chord-diagram/modules/link.d.ts +0 -21
- package/components/chord-diagram/modules/link.js +0 -63
- package/components/chord-diagram/modules/link.js.map +0 -1
- package/components/chord-diagram/modules/node.d.ts +0 -17
- package/components/chord-diagram/modules/node.js +0 -52
- package/components/chord-diagram/modules/node.js.map +0 -1
- package/components/chord-diagram/style.d.ts +0 -13
- package/components/chord-diagram/style.js.map +0 -1
- package/components/chord-diagram/types.d.ts +0 -58
- package/components/chord-diagram/types.js +0 -8
- package/components/chord-diagram/types.js.map +0 -1
- package/components/crosshair/config.d.ts +0 -43
- package/components/crosshair/config.js +0 -19
- package/components/crosshair/config.js.map +0 -1
- package/components/crosshair/index.d.ts +0 -35
- package/components/crosshair/index.js +0 -183
- package/components/crosshair/index.js.map +0 -1
- package/components/crosshair/style.d.ts +0 -4
- package/components/crosshair/style.js.map +0 -1
- package/components/crosshair/types.d.ts +0 -13
- package/components/crosshair/types.js +0 -2
- package/components/crosshair/types.js.map +0 -1
- package/components/donut/config.d.ts +0 -59
- package/components/donut/config.js +0 -28
- package/components/donut/config.js.map +0 -1
- package/components/donut/index.d.ts +0 -21
- package/components/donut/index.js +0 -107
- package/components/donut/index.js.map +0 -1
- package/components/donut/modules/arc.d.ts +0 -10
- package/components/donut/modules/arc.js +0 -59
- package/components/donut/modules/arc.js.map +0 -1
- package/components/donut/style.d.ts +0 -7
- package/components/donut/style.js.map +0 -1
- package/components/donut/types.d.ts +0 -20
- package/components/flow-legend/config.d.ts +0 -29
- package/components/flow-legend/config.js +0 -18
- package/components/flow-legend/config.js.map +0 -1
- package/components/flow-legend/index.d.ts +0 -16
- package/components/flow-legend/index.js +0 -75
- package/components/flow-legend/index.js.map +0 -1
- package/components/flow-legend/style.d.ts +0 -8
- package/components/flow-legend/style.js.map +0 -1
- package/components/flow-legend/types.d.ts +0 -9
- package/components/flow-legend/types.js +0 -8
- package/components/flow-legend/types.js.map +0 -1
- package/components/free-brush/config.d.ts +0 -45
- package/components/free-brush/config.js +0 -24
- package/components/free-brush/config.js.map +0 -1
- package/components/free-brush/index.d.ts +0 -20
- package/components/free-brush/index.js +0 -192
- package/components/free-brush/index.js.map +0 -1
- package/components/free-brush/style.d.ts +0 -4
- package/components/free-brush/style.js.map +0 -1
- package/components/free-brush/types.d.ts +0 -7
- package/components/free-brush/types.js +0 -9
- package/components/free-brush/types.js.map +0 -1
- package/components/graph/config.d.ts +0 -238
- package/components/graph/config.js +0 -84
- package/components/graph/config.js.map +0 -1
- package/components/graph/index.d.ts +0 -126
- package/components/graph/index.js +0 -656
- package/components/graph/index.js.map +0 -1
- package/components/graph/modules/layout-helpers.d.ts +0 -21
- package/components/graph/modules/layout-helpers.js +0 -69
- package/components/graph/modules/layout-helpers.js.map +0 -1
- package/components/graph/modules/layout.d.ts +0 -10
- package/components/graph/modules/layout.js +0 -399
- package/components/graph/modules/layout.js.map +0 -1
- package/components/graph/modules/link/helper.d.ts +0 -25
- package/components/graph/modules/link/helper.js +0 -74
- package/components/graph/modules/link/helper.js.map +0 -1
- package/components/graph/modules/link/index.d.ts +0 -11
- package/components/graph/modules/link/index.js +0 -212
- package/components/graph/modules/link/index.js.map +0 -1
- package/components/graph/modules/link/style.d.ts +0 -15
- package/components/graph/modules/link/style.js.map +0 -1
- package/components/graph/modules/node/helper.d.ts +0 -21
- package/components/graph/modules/node/helper.js +0 -126
- package/components/graph/modules/node/helper.js.map +0 -1
- package/components/graph/modules/node/index.d.ts +0 -11
- package/components/graph/modules/node/index.js +0 -252
- package/components/graph/modules/node/index.js.map +0 -1
- package/components/graph/modules/node/style.d.ts +0 -24
- package/components/graph/modules/node/style.js.map +0 -1
- package/components/graph/modules/panel/helper.d.ts +0 -18
- package/components/graph/modules/panel/helper.js +0 -111
- package/components/graph/modules/panel/helper.js.map +0 -1
- package/components/graph/modules/panel/index.d.ts +0 -7
- package/components/graph/modules/panel/index.js +0 -98
- package/components/graph/modules/panel/index.js.map +0 -1
- package/components/graph/modules/panel/style.d.ts +0 -14
- package/components/graph/modules/panel/style.js.map +0 -1
- package/components/graph/modules/shape.d.ts +0 -6
- package/components/graph/modules/shape.js +0 -80
- package/components/graph/modules/shape.js.map +0 -1
- package/components/graph/modules/zoom-levels.d.ts +0 -6
- package/components/graph/modules/zoom-levels.js +0 -10
- package/components/graph/modules/zoom-levels.js.map +0 -1
- package/components/graph/style.d.ts +0 -6
- package/components/graph/style.js +0 -66
- package/components/graph/style.js.map +0 -1
- package/components/graph/types.d.ts +0 -125
- package/components/graph/types.js +0 -30
- package/components/graph/types.js.map +0 -1
- package/components/grouped-bar/config.d.ts +0 -36
- package/components/grouped-bar/config.js +0 -20
- package/components/grouped-bar/config.js.map +0 -1
- package/components/grouped-bar/index.d.ts +0 -32
- package/components/grouped-bar/index.js +0 -249
- package/components/grouped-bar/index.js.map +0 -1
- package/components/grouped-bar/style.d.ts +0 -5
- package/components/grouped-bar/style.js.map +0 -1
- package/components/leaflet-flow-map/config.d.ts +0 -46
- package/components/leaflet-flow-map/config.js +0 -25
- package/components/leaflet-flow-map/config.js.map +0 -1
- package/components/leaflet-flow-map/index.d.ts +0 -52
- package/components/leaflet-flow-map/index.js +0 -220
- package/components/leaflet-flow-map/index.js.map +0 -1
- package/components/leaflet-flow-map/renderer-utils.d.ts +0 -5
- package/components/leaflet-flow-map/renderer-utils.js +0 -15
- package/components/leaflet-flow-map/renderer-utils.js.map +0 -1
- package/components/leaflet-flow-map/renderer.d.ts +0 -26
- package/components/leaflet-flow-map/renderer.js +0 -117
- package/components/leaflet-flow-map/renderer.js.map +0 -1
- package/components/leaflet-flow-map/shaders.d.ts +0 -2
- package/components/leaflet-flow-map/shaders.js.map +0 -1
- package/components/leaflet-flow-map/types.d.ts +0 -23
- package/components/leaflet-map/config.d.ts +0 -193
- package/components/leaflet-map/config.js +0 -71
- package/components/leaflet-map/config.js.map +0 -1
- package/components/leaflet-map/index.d.ts +0 -130
- package/components/leaflet-map/index.js +0 -690
- package/components/leaflet-map/index.js.map +0 -1
- package/components/leaflet-map/leaflet.css.js +0 -5
- package/components/leaflet-map/leaflet.css.js.map +0 -1
- package/components/leaflet-map/modules/clusterBackground.d.ts +0 -5
- package/components/leaflet-map/modules/clusterBackground.js +0 -27
- package/components/leaflet-map/modules/clusterBackground.js.map +0 -1
- package/components/leaflet-map/modules/donut.d.ts +0 -3
- package/components/leaflet-map/modules/donut.js +0 -25
- package/components/leaflet-map/modules/donut.js.map +0 -1
- package/components/leaflet-map/modules/map.d.ts +0 -14
- package/components/leaflet-map/modules/map.js +0 -154
- package/components/leaflet-map/modules/map.js.map +0 -1
- package/components/leaflet-map/modules/node.d.ts +0 -9
- package/components/leaflet-map/modules/node.js +0 -162
- package/components/leaflet-map/modules/node.js.map +0 -1
- package/components/leaflet-map/modules/selectionRing.d.ts +0 -7
- package/components/leaflet-map/modules/selectionRing.js +0 -41
- package/components/leaflet-map/modules/selectionRing.js.map +0 -1
- package/components/leaflet-map/modules/utils.d.ts +0 -50
- package/components/leaflet-map/modules/utils.js +0 -210
- package/components/leaflet-map/modules/utils.js.map +0 -1
- package/components/leaflet-map/renderer/leaflet-maplibre-gl.js.map +0 -1
- package/components/leaflet-map/renderer/map-style.d.ts +0 -4
- package/components/leaflet-map/renderer/map-style.js +0 -15
- package/components/leaflet-map/renderer/map-style.js.map +0 -1
- package/components/leaflet-map/renderer/mapboxgl/mapboxgl-dark-theme.json.js +0 -40
- package/components/leaflet-map/renderer/mapboxgl/mapboxgl-dark-theme.json.js.map +0 -1
- package/components/leaflet-map/renderer/mapboxgl/mapboxgl-light-theme.json.js +0 -40
- package/components/leaflet-map/renderer/mapboxgl/mapboxgl-light-theme.json.js.map +0 -1
- package/components/leaflet-map/renderer/mapboxgl/mapboxgl-settings.json.js +0 -4981
- package/components/leaflet-map/renderer/mapboxgl/mapboxgl-settings.json.js.map +0 -1
- package/components/leaflet-map/renderer/mapboxgl-layer.d.ts +0 -8
- package/components/leaflet-map/renderer/mapboxgl-layer.js +0 -27
- package/components/leaflet-map/renderer/mapboxgl-layer.js.map +0 -1
- package/components/leaflet-map/renderer/mapboxgl-utils.d.ts +0 -4
- package/components/leaflet-map/renderer/mapboxgl-utils.js +0 -39
- package/components/leaflet-map/renderer/mapboxgl-utils.js.map +0 -1
- package/components/leaflet-map/renderer/maplibre-gl.css.js.map +0 -1
- package/components/leaflet-map/style.d.ts +0 -52
- package/components/leaflet-map/style.js +0 -183
- package/components/leaflet-map/style.js.map +0 -1
- package/components/leaflet-map/types.d.ts +0 -75
- package/components/leaflet-map/types.js +0 -15
- package/components/leaflet-map/types.js.map +0 -1
- package/components/line/config.d.ts +0 -30
- package/components/line/config.js +0 -17
- package/components/line/config.js.map +0 -1
- package/components/line/index.d.ts +0 -27
- package/components/line/index.js +0 -152
- package/components/line/index.js.map +0 -1
- package/components/line/style.d.ts +0 -6
- package/components/line/style.js.map +0 -1
- package/components/line/types.d.ts +0 -12
- package/components/nested-donut/config.d.ts +0 -59
- package/components/nested-donut/config.js +0 -19
- package/components/nested-donut/config.js.map +0 -1
- package/components/nested-donut/index.d.ts +0 -38
- package/components/nested-donut/index.js +0 -133
- package/components/nested-donut/index.js.map +0 -1
- package/components/nested-donut/modules/arc.d.ts +0 -17
- package/components/nested-donut/modules/arc.js +0 -50
- package/components/nested-donut/modules/arc.js.map +0 -1
- package/components/nested-donut/modules/label.d.ts +0 -7
- package/components/nested-donut/modules/label.js +0 -34
- package/components/nested-donut/modules/label.js.map +0 -1
- package/components/nested-donut/style.d.ts +0 -26
- package/components/nested-donut/style.js +0 -70
- package/components/nested-donut/style.js.map +0 -1
- package/components/nested-donut/types.d.ts +0 -24
- package/components/nested-donut/types.js +0 -11
- package/components/nested-donut/types.js.map +0 -1
- package/components/sankey/config.d.ts +0 -162
- package/components/sankey/config.js +0 -65
- package/components/sankey/config.js.map +0 -1
- package/components/sankey/index.d.ts +0 -59
- package/components/sankey/index.js +0 -306
- package/components/sankey/index.js.map +0 -1
- package/components/sankey/modules/label.d.ts +0 -23
- package/components/sankey/modules/label.js +0 -168
- package/components/sankey/modules/label.js.map +0 -1
- package/components/sankey/modules/link.d.ts +0 -14
- package/components/sankey/modules/link.js +0 -108
- package/components/sankey/modules/link.js.map +0 -1
- package/components/sankey/modules/node.d.ts +0 -10
- package/components/sankey/modules/node.js +0 -156
- package/components/sankey/modules/node.js.map +0 -1
- package/components/sankey/style.d.ts +0 -20
- package/components/sankey/style.js.map +0 -1
- package/components/sankey/types.d.ts +0 -84
- package/components/sankey/types.js +0 -34
- package/components/sankey/types.js.map +0 -1
- package/components/scatter/config.d.ts +0 -44
- package/components/scatter/config.js +0 -23
- package/components/scatter/config.js.map +0 -1
- package/components/scatter/index.d.ts +0 -28
- package/components/scatter/index.js +0 -167
- package/components/scatter/index.js.map +0 -1
- package/components/scatter/modules/point.d.ts +0 -7
- package/components/scatter/modules/point.js +0 -86
- package/components/scatter/modules/point.js.map +0 -1
- package/components/scatter/modules/utils.d.ts +0 -11
- package/components/scatter/modules/utils.js +0 -112
- package/components/scatter/modules/utils.js.map +0 -1
- package/components/scatter/style.d.ts +0 -5
- package/components/scatter/style.js.map +0 -1
- package/components/scatter/types.d.ts +0 -19
- package/components/stacked-bar/config.d.ts +0 -38
- package/components/stacked-bar/config.js +0 -20
- package/components/stacked-bar/config.js.map +0 -1
- package/components/stacked-bar/index.d.ts +0 -28
- package/components/stacked-bar/index.js +0 -208
- package/components/stacked-bar/index.js.map +0 -1
- package/components/stacked-bar/style.d.ts +0 -5
- package/components/stacked-bar/style.js.map +0 -1
- package/components/stacked-bar/types.d.ts +0 -5
- package/components/timeline/config.d.ts +0 -43
- package/components/timeline/config.js +0 -24
- package/components/timeline/config.js.map +0 -1
- package/components/timeline/index.d.ts +0 -41
- package/components/timeline/index.js +0 -244
- package/components/timeline/index.js.map +0 -1
- package/components/timeline/style.d.ts +0 -13
- package/components/timeline/style.js.map +0 -1
- package/components/tooltip/config.d.ts +0 -68
- package/components/tooltip/config.js +0 -20
- package/components/tooltip/config.js.map +0 -1
- package/components/tooltip/index.d.ts +0 -36
- package/components/tooltip/index.js +0 -184
- package/components/tooltip/index.js.map +0 -1
- package/components/tooltip/style.js.map +0 -1
- package/components/topojson-map/config.d.ts +0 -99
- package/components/topojson-map/config.js +0 -42
- package/components/topojson-map/config.js.map +0 -1
- package/components/topojson-map/index.d.ts +0 -52
- package/components/topojson-map/index.js +0 -355
- package/components/topojson-map/index.js.map +0 -1
- package/components/topojson-map/style.d.ts +0 -11
- package/components/topojson-map/style.js.map +0 -1
- package/components/topojson-map/types.d.ts +0 -78
- package/components/topojson-map/types.js +0 -80
- package/components/topojson-map/types.js.map +0 -1
- package/components/topojson-map/utils.d.ts +0 -3
- package/components/topojson-map/utils.js +0 -30
- package/components/topojson-map/utils.js.map +0 -1
- package/components/vis-controls/config.d.ts +0 -12
- package/components/vis-controls/config.js +0 -13
- package/components/vis-controls/config.js.map +0 -1
- package/components/vis-controls/index.d.ts +0 -14
- package/components/vis-controls/index.js +0 -52
- package/components/vis-controls/index.js.map +0 -1
- package/components/vis-controls/style.d.ts +0 -11
- package/components/vis-controls/style.js.map +0 -1
- package/components/vis-controls/types.d.ts +0 -13
- package/components/vis-controls/types.js +0 -8
- package/components/vis-controls/types.js.map +0 -1
- package/components/xy-labels/config.d.ts +0 -48
- package/components/xy-labels/config.js +0 -25
- package/components/xy-labels/config.js.map +0 -1
- package/components/xy-labels/index.d.ts +0 -15
- package/components/xy-labels/index.js +0 -87
- package/components/xy-labels/index.js.map +0 -1
- package/components/xy-labels/modules/label.d.ts +0 -9
- package/components/xy-labels/modules/label.js +0 -107
- package/components/xy-labels/modules/label.js.map +0 -1
- package/components/xy-labels/style.d.ts +0 -5
- package/components/xy-labels/style.js.map +0 -1
- package/components/xy-labels/types.d.ts +0 -23
- package/components/xy-labels/types.js +0 -9
- package/components/xy-labels/types.js.map +0 -1
- package/components.d.ts +0 -51
- package/components.js +0 -29
- package/components.js.map +0 -1
- package/containers/single-container/config.d.ts +0 -12
- package/containers/single-container/config.js +0 -12
- package/containers/single-container/config.js.map +0 -1
- package/containers/single-container/index.d.ts +0 -19
- package/containers/single-container/index.js +0 -128
- package/containers/single-container/index.js.map +0 -1
- package/containers/xy-container/config.d.ts +0 -99
- package/containers/xy-container/config.js +0 -30
- package/containers/xy-container/config.js.map +0 -1
- package/containers/xy-container/index.d.ts +0 -34
- package/containers/xy-container/index.js +0 -330
- package/containers/xy-container/index.js.map +0 -1
- package/containers.d.ts +0 -6
- package/containers.js +0 -4
- package/containers.js.map +0 -1
- package/core/component/config.d.ts +0 -58
- package/core/component/config.js +0 -14
- package/core/component/config.js.map +0 -1
- package/core/component/index.d.ts +0 -43
- package/core/component/index.js +0 -118
- package/core/component/index.js.map +0 -1
- package/core/component/types.d.ts +0 -2
- package/core/component/types.js +0 -2
- package/core/component/types.js.map +0 -1
- package/core/config/index.d.ts +0 -3
- package/core/config/index.js +0 -16
- package/core/config/index.js.map +0 -1
- package/core/container/config.d.ts +0 -48
- package/core/container/config.js +0 -29
- package/core/container/config.js.map +0 -1
- package/core/container/index.d.ts +0 -26
- package/core/container/index.js +0 -105
- package/core/container/index.js.map +0 -1
- package/core/xy-component/config.d.ts +0 -38
- package/core/xy-component/config.js +0 -20
- package/core/xy-component/config.js.map +0 -1
- package/core/xy-component/index.d.ts +0 -27
- package/core/xy-component/index.js +0 -74
- package/core/xy-component/index.js.map +0 -1
- package/data-models/core.d.ts +0 -6
- package/data-models/core.js +0 -14
- package/data-models/core.js.map +0 -1
- package/data-models/graph.d.ts +0 -24
- package/data-models/graph.js +0 -107
- package/data-models/graph.js.map +0 -1
- package/data-models/map-graph.d.ts +0 -21
- package/data-models/map-graph.js +0 -62
- package/data-models/map-graph.js.map +0 -1
- package/data-models/map.d.ts +0 -5
- package/data-models/map.js +0 -12
- package/data-models/map.js.map +0 -1
- package/data-models/series.d.ts +0 -6
- package/data-models/series.js +0 -19
- package/data-models/series.js.map +0 -1
- package/index.d.ts +0 -7
- package/index.js +0 -55
- package/index.js.map +0 -1
- package/maps/china-provinces.json.js +0 -140373
- package/maps/fr-regions.json.js +0 -14162
- package/maps/germany-regions.json.js +0 -35760
- package/maps/ind-regions.json.js +0 -290584
- package/maps/uk-regions.json.js +0 -96233
- package/maps/us-counties.json.js +0 -206318
- package/maps/us-states.json.js +0 -16345
- package/maps/world-110m-alpha.json.js +0 -251366
- package/maps/world-simple.json.js +0 -89428
- package/maps/world-simplest.json.js +0 -28175
- package/maps.d.ts +0 -60
- package/maps.js +0 -23
- package/styles/colors.d.ts +0 -7
- package/styles/colors.js +0 -24
- package/styles/colors.js.map +0 -1
- package/styles/index.d.ts +0 -7
- package/styles/index.js +0 -38
- package/styles/index.js.map +0 -1
- package/styles/sizes.d.ts +0 -2
- package/styles/sizes.js.map +0 -1
- package/types/accessor.d.ts +0 -5
- package/types/accessor.js +0 -2
- package/types/accessor.js.map +0 -1
- package/types/component.d.ts +0 -13
- package/types/component.js +0 -14
- package/types/component.js.map +0 -1
- package/types/curve.d.ts +0 -40
- package/types/curve.js +0 -46
- package/types/curve.js.map +0 -1
- package/types/data.d.ts +0 -7
- package/types/data.js +0 -2
- package/types/data.js.map +0 -1
- package/types/direction.d.ts +0 -6
- package/types/direction.js +0 -10
- package/types/direction.js.map +0 -1
- package/types/graph.d.ts +0 -35
- package/types/graph.js +0 -2
- package/types/graph.js.map +0 -1
- package/types/map.d.ts +0 -4
- package/types/map.js +0 -2
- package/types/map.js.map +0 -1
- package/types/misc.d.ts +0 -8
- package/types/position.d.ts +0 -20
- package/types/position.js +0 -27
- package/types/position.js.map +0 -1
- package/types/scale.d.ts +0 -23
- package/types/scale.js +0 -27
- package/types/scale.js.map +0 -1
- package/types/shape.d.ts +0 -7
- package/types/shape.js +0 -11
- package/types/shape.js.map +0 -1
- package/types/spacing.d.ts +0 -6
- package/types/spacing.js +0 -2
- package/types/spacing.js.map +0 -1
- package/types/svg.d.ts +0 -18
- package/types/svg.js +0 -22
- package/types/svg.js.map +0 -1
- package/types/symbol.d.ts +0 -18
- package/types/symbol.js +0 -24
- package/types/symbol.js.map +0 -1
- package/types/text.d.ts +0 -46
- package/types/text.js +0 -26
- package/types/text.js.map +0 -1
- package/types.d.ts +0 -27
- package/types.js +0 -30
- package/types.js.map +0 -1
- package/utils/color.d.ts +0 -10
- package/utils/color.js +0 -32
- package/utils/color.js.map +0 -1
- package/utils/d3.d.ts +0 -3
- package/utils/d3.js +0 -16
- package/utils/d3.js.map +0 -1
- package/utils/data.d.ts +0 -45
- package/utils/data.js +0 -274
- package/utils/data.js.map +0 -1
- package/utils/html.d.ts +0 -1
- package/utils/html.js +0 -16
- package/utils/html.js.map +0 -1
- package/utils/map.d.ts +0 -2
- package/utils/map.js +0 -20
- package/utils/map.js.map +0 -1
- package/utils/misc.d.ts +0 -9
- package/utils/misc.js +0 -47
- package/utils/misc.js.map +0 -1
- package/utils/path.d.ts +0 -23
- package/utils/path.js +0 -144
- package/utils/path.js.map +0 -1
- package/utils/scale.d.ts +0 -1
- package/utils/style.d.ts +0 -6
- package/utils/style.js +0 -24
- package/utils/style.js.map +0 -1
- package/utils/svg.d.ts +0 -3
- package/utils/text.d.ts +0 -139
- package/utils/text.js +0 -417
- package/utils/text.js.map +0 -1
- package/utils/type.d.ts +0 -5
|
@@ -0,0 +1,2185 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bearing": 0,
|
|
3
|
+
"name": "F5XC Map Light",
|
|
4
|
+
"owner": "F5, Inc.",
|
|
5
|
+
"glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf",
|
|
6
|
+
"sources":{
|
|
7
|
+
"openmaptiles": {
|
|
8
|
+
"url": "https://api.maptiler.com/tiles/v3/tiles.json",
|
|
9
|
+
"type":"vector"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"layers": [
|
|
13
|
+
{
|
|
14
|
+
"id": "park_outline",
|
|
15
|
+
"type": "line",
|
|
16
|
+
"source": "openmaptiles",
|
|
17
|
+
"source-layer": "park",
|
|
18
|
+
"filter": ["all"],
|
|
19
|
+
"layout": {},
|
|
20
|
+
"paint": {
|
|
21
|
+
"line-color": "rgb(255, 255, 255)",
|
|
22
|
+
"line-dasharray": [1, 1.5],
|
|
23
|
+
"line-opacity": 1
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "landuse_residential",
|
|
28
|
+
"type": "fill",
|
|
29
|
+
"metadata": {},
|
|
30
|
+
"source": "openmaptiles",
|
|
31
|
+
"source-layer": "landuse",
|
|
32
|
+
"maxzoom": 8,
|
|
33
|
+
"filter": [
|
|
34
|
+
"all",
|
|
35
|
+
["in", "class", "residential", "suburbs", "neighbourhood"]
|
|
36
|
+
],
|
|
37
|
+
"layout": {"visibility": "visible"},
|
|
38
|
+
"paint": {
|
|
39
|
+
"fill-color": {
|
|
40
|
+
"stops": [
|
|
41
|
+
[9, "rgba(236, 236, 236, 0.8)"],
|
|
42
|
+
[12, "rgba(236, 236, 236, 0.8)"]
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "landcover_wood",
|
|
49
|
+
"type": "fill",
|
|
50
|
+
"metadata": {},
|
|
51
|
+
"source": "openmaptiles",
|
|
52
|
+
"source-layer": "landcover",
|
|
53
|
+
"filter": ["all", ["==", "class", "wood"]],
|
|
54
|
+
"paint": {
|
|
55
|
+
"fill-antialias": false,
|
|
56
|
+
"fill-color": "rgba(255, 255, 255, 0.7)",
|
|
57
|
+
"fill-opacity": 0.4
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "landcover_grass",
|
|
62
|
+
"type": "fill",
|
|
63
|
+
"metadata": {},
|
|
64
|
+
"source": "openmaptiles",
|
|
65
|
+
"source-layer": "landcover",
|
|
66
|
+
"filter": ["all", ["==", "class", "grass"]],
|
|
67
|
+
"paint": {
|
|
68
|
+
"fill-antialias": false,
|
|
69
|
+
"fill-color": "rgb(255, 255, 255)",
|
|
70
|
+
"fill-opacity": 0.3
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "landuse_cemetery",
|
|
75
|
+
"type": "fill",
|
|
76
|
+
"metadata": {},
|
|
77
|
+
"source": "openmaptiles",
|
|
78
|
+
"source-layer": "landuse",
|
|
79
|
+
"filter": ["==", "class", "cemetery"],
|
|
80
|
+
"layout": {"visibility": "visible"},
|
|
81
|
+
"paint": {"fill-color": "rgb(221, 221, 221)"}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "landuse_hospital",
|
|
85
|
+
"type": "fill",
|
|
86
|
+
"metadata": {},
|
|
87
|
+
"source": "openmaptiles",
|
|
88
|
+
"source-layer": "landuse",
|
|
89
|
+
"filter": ["==", "class", "hospital"],
|
|
90
|
+
"paint": {"fill-color": "rgb(249, 249, 249)"}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "landuse_school",
|
|
94
|
+
"type": "fill",
|
|
95
|
+
"metadata": {},
|
|
96
|
+
"source": "openmaptiles",
|
|
97
|
+
"source-layer": "landuse",
|
|
98
|
+
"filter": ["==", "class", "school"],
|
|
99
|
+
"paint": {"fill-color": "rgb(236, 236, 236)"}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "landuse_stadium",
|
|
103
|
+
"type": "fill",
|
|
104
|
+
"metadata": {},
|
|
105
|
+
"source": "openmaptiles",
|
|
106
|
+
"source-layer": "landuse",
|
|
107
|
+
"filter": ["all", ["in", "class", "stadium", "pitch", "track"]],
|
|
108
|
+
"paint": {"fill-color": "rgb(236, 236, 236)"}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "waterway_tunnel",
|
|
112
|
+
"type": "line",
|
|
113
|
+
"source": "openmaptiles",
|
|
114
|
+
"source-layer": "waterway",
|
|
115
|
+
"minzoom": 14,
|
|
116
|
+
"filter": ["all", ["==", "brunnel", "tunnel"]],
|
|
117
|
+
"layout": {"line-cap": "round"},
|
|
118
|
+
"paint": {
|
|
119
|
+
"line-color": "rgb(236, 237, 238)",
|
|
120
|
+
"line-dasharray": [2, 4],
|
|
121
|
+
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "waterway_river",
|
|
126
|
+
"type": "line",
|
|
127
|
+
"metadata": {},
|
|
128
|
+
"source": "openmaptiles",
|
|
129
|
+
"source-layer": "waterway",
|
|
130
|
+
"filter": [
|
|
131
|
+
"all",
|
|
132
|
+
["==", "class", "river"],
|
|
133
|
+
["!=", "brunnel", "tunnel"],
|
|
134
|
+
["!=", "intermittent", 1]
|
|
135
|
+
],
|
|
136
|
+
"layout": {"line-cap": "round"},
|
|
137
|
+
"paint": {
|
|
138
|
+
"line-color": "rgb(236, 237, 238)",
|
|
139
|
+
"line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "waterway_river_intermittent",
|
|
144
|
+
"type": "line",
|
|
145
|
+
"metadata": {},
|
|
146
|
+
"source": "openmaptiles",
|
|
147
|
+
"source-layer": "waterway",
|
|
148
|
+
"filter": [
|
|
149
|
+
"all",
|
|
150
|
+
["==", "class", "river"],
|
|
151
|
+
["!=", "brunnel", "tunnel"],
|
|
152
|
+
["==", "intermittent", 1]
|
|
153
|
+
],
|
|
154
|
+
"layout": {"line-cap": "round"},
|
|
155
|
+
"paint": {
|
|
156
|
+
"line-color": "#a0c8f0",
|
|
157
|
+
"line-dasharray": [3, 2],
|
|
158
|
+
"line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "waterway_other",
|
|
163
|
+
"type": "line",
|
|
164
|
+
"metadata": {},
|
|
165
|
+
"source": "openmaptiles",
|
|
166
|
+
"source-layer": "waterway",
|
|
167
|
+
"filter": [
|
|
168
|
+
"all",
|
|
169
|
+
["!=", "class", "river"],
|
|
170
|
+
["!=", "brunnel", "tunnel"],
|
|
171
|
+
["!=", "intermittent", 1]
|
|
172
|
+
],
|
|
173
|
+
"layout": {"line-cap": "round"},
|
|
174
|
+
"paint": {
|
|
175
|
+
"line-color": "rgb(236, 237, 238)",
|
|
176
|
+
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "waterway_other_intermittent",
|
|
181
|
+
"type": "line",
|
|
182
|
+
"metadata": {},
|
|
183
|
+
"source": "openmaptiles",
|
|
184
|
+
"source-layer": "waterway",
|
|
185
|
+
"filter": [
|
|
186
|
+
"all",
|
|
187
|
+
["!=", "class", "river"],
|
|
188
|
+
["!=", "brunnel", "tunnel"],
|
|
189
|
+
["==", "intermittent", 1]
|
|
190
|
+
],
|
|
191
|
+
"layout": {"line-cap": "round", "visibility": "visible"},
|
|
192
|
+
"paint": {
|
|
193
|
+
"line-color": "#a0c8f0",
|
|
194
|
+
"line-dasharray": [4, 3],
|
|
195
|
+
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "water_intermittent",
|
|
200
|
+
"type": "fill",
|
|
201
|
+
"metadata": {},
|
|
202
|
+
"source": "openmaptiles",
|
|
203
|
+
"source-layer": "water",
|
|
204
|
+
"filter": ["all", ["==", "intermittent", 1]],
|
|
205
|
+
"layout": {"visibility": "visible"},
|
|
206
|
+
"paint": {"fill-color": "rgba(172, 218, 251, 1)", "fill-opacity": 0.85}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "landcover_sand",
|
|
210
|
+
"type": "fill",
|
|
211
|
+
"metadata": {},
|
|
212
|
+
"source": "openmaptiles",
|
|
213
|
+
"source-layer": "landcover",
|
|
214
|
+
"filter": ["all", ["in", "class", "sand"]],
|
|
215
|
+
"layout": {"visibility": "visible"},
|
|
216
|
+
"paint": {
|
|
217
|
+
"fill-antialias": false,
|
|
218
|
+
"fill-color": "rgb(222, 222, 222)",
|
|
219
|
+
"fill-opacity": 1
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "landcover_sand_outline",
|
|
224
|
+
"type": "line",
|
|
225
|
+
"metadata": {},
|
|
226
|
+
"source": "openmaptiles",
|
|
227
|
+
"source-layer": "landcover",
|
|
228
|
+
"filter": ["all", ["in", "class", "sand"]],
|
|
229
|
+
"layout": {"visibility": "visible"},
|
|
230
|
+
"paint": {"line-color": "#f2e9ac", "line-width": 2}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "aeroway_fill",
|
|
234
|
+
"type": "fill",
|
|
235
|
+
"metadata": {},
|
|
236
|
+
"source": "openmaptiles",
|
|
237
|
+
"source-layer": "aeroway",
|
|
238
|
+
"minzoom": 11,
|
|
239
|
+
"filter": ["==", "$type", "Polygon"],
|
|
240
|
+
"paint": {"fill-color": "rgb(241, 241, 241)", "fill-opacity": 0.7}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "aeroway_runway",
|
|
244
|
+
"type": "line",
|
|
245
|
+
"metadata": {},
|
|
246
|
+
"source": "openmaptiles",
|
|
247
|
+
"source-layer": "aeroway",
|
|
248
|
+
"minzoom": 11,
|
|
249
|
+
"filter": [
|
|
250
|
+
"all",
|
|
251
|
+
["==", "$type", "LineString"],
|
|
252
|
+
["==", "class", "runway"]
|
|
253
|
+
],
|
|
254
|
+
"paint": {
|
|
255
|
+
"line-color": "rgb(255, 255, 255)",
|
|
256
|
+
"line-width": {"base": 1.2, "stops": [[11, 3], [20, 16]]}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "aeroway_taxiway",
|
|
261
|
+
"type": "line",
|
|
262
|
+
"metadata": {},
|
|
263
|
+
"source": "openmaptiles",
|
|
264
|
+
"source-layer": "aeroway",
|
|
265
|
+
"minzoom": 11,
|
|
266
|
+
"filter": [
|
|
267
|
+
"all",
|
|
268
|
+
["==", "$type", "LineString"],
|
|
269
|
+
["==", "class", "taxiway"]
|
|
270
|
+
],
|
|
271
|
+
"paint": {
|
|
272
|
+
"line-color": "rgb(255, 255, 255)",
|
|
273
|
+
"line-width": {"base": 1.2, "stops": [[11, 0.5], [20, 6]]}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "ferry",
|
|
278
|
+
"type": "line",
|
|
279
|
+
"source": "openmaptiles",
|
|
280
|
+
"source-layer": "transportation",
|
|
281
|
+
"filter": ["all", ["in", "class", "ferry"]],
|
|
282
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
283
|
+
"paint": {
|
|
284
|
+
"line-color": "rgb(182, 182, 182)",
|
|
285
|
+
"line-dasharray": [2, 2],
|
|
286
|
+
"line-width": 1.1
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "tunnel_motorway_link_casing",
|
|
291
|
+
"type": "line",
|
|
292
|
+
"metadata": {},
|
|
293
|
+
"source": "openmaptiles",
|
|
294
|
+
"source-layer": "transportation",
|
|
295
|
+
"filter": [
|
|
296
|
+
"all",
|
|
297
|
+
["==", "class", "motorway"],
|
|
298
|
+
["==", "ramp", 1],
|
|
299
|
+
["==", "brunnel", "tunnel"]
|
|
300
|
+
],
|
|
301
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
302
|
+
"paint": {
|
|
303
|
+
"line-color": "rgb(233, 160, 182)",
|
|
304
|
+
"line-dasharray": [0.5, 0.25],
|
|
305
|
+
"line-opacity": 1,
|
|
306
|
+
"line-width": {
|
|
307
|
+
"base": 1.2,
|
|
308
|
+
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "tunnel_service_track_casing",
|
|
314
|
+
"type": "line",
|
|
315
|
+
"metadata": {},
|
|
316
|
+
"source": "openmaptiles",
|
|
317
|
+
"source-layer": "transportation",
|
|
318
|
+
"filter": [
|
|
319
|
+
"all",
|
|
320
|
+
["==", "brunnel", "tunnel"],
|
|
321
|
+
["in", "class", "service", "track"]
|
|
322
|
+
],
|
|
323
|
+
"layout": {"line-join": "round"},
|
|
324
|
+
"paint": {
|
|
325
|
+
"line-color": "rgb(225, 225, 225)",
|
|
326
|
+
"line-dasharray": [0.5, 0.25],
|
|
327
|
+
"line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"id": "tunnel_link_casing",
|
|
332
|
+
"type": "line",
|
|
333
|
+
"metadata": {},
|
|
334
|
+
"source": "openmaptiles",
|
|
335
|
+
"source-layer": "transportation",
|
|
336
|
+
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
|
|
337
|
+
"layout": {"line-join": "round"},
|
|
338
|
+
"paint": {
|
|
339
|
+
"line-color": "rgb(233, 160, 182)",
|
|
340
|
+
"line-opacity": 1,
|
|
341
|
+
"line-width": {
|
|
342
|
+
"base": 1.2,
|
|
343
|
+
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "tunnel_street_casing",
|
|
349
|
+
"type": "line",
|
|
350
|
+
"metadata": {},
|
|
351
|
+
"source": "openmaptiles",
|
|
352
|
+
"source-layer": "transportation",
|
|
353
|
+
"filter": [
|
|
354
|
+
"all",
|
|
355
|
+
["==", "brunnel", "tunnel"],
|
|
356
|
+
["in", "class", "street", "street_limited"]
|
|
357
|
+
],
|
|
358
|
+
"layout": {"line-join": "round"},
|
|
359
|
+
"paint": {
|
|
360
|
+
"line-color": "rgb(225, 225, 225)",
|
|
361
|
+
"line-opacity": {"stops": [[12, 0], [12.5, 1]]},
|
|
362
|
+
"line-width": {
|
|
363
|
+
"base": 1.2,
|
|
364
|
+
"stops": [[12, 0.5], [13, 1], [14, 4], [20, 15]]
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"id": "tunnel_secondary_tertiary_casing",
|
|
370
|
+
"type": "line",
|
|
371
|
+
"metadata": {},
|
|
372
|
+
"source": "openmaptiles",
|
|
373
|
+
"source-layer": "transportation",
|
|
374
|
+
"filter": [
|
|
375
|
+
"all",
|
|
376
|
+
["==", "brunnel", "tunnel"],
|
|
377
|
+
["in", "class", "secondary", "tertiary"]
|
|
378
|
+
],
|
|
379
|
+
"layout": {"line-join": "round"},
|
|
380
|
+
"paint": {
|
|
381
|
+
"line-color": "rgb(212, 212, 212)",
|
|
382
|
+
"line-dasharray": [0.5, 0.25],
|
|
383
|
+
"line-opacity": 1,
|
|
384
|
+
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"id": "tunnel_trunk_primary_casing",
|
|
389
|
+
"type": "line",
|
|
390
|
+
"metadata": {},
|
|
391
|
+
"source": "openmaptiles",
|
|
392
|
+
"source-layer": "transportation",
|
|
393
|
+
"filter": [
|
|
394
|
+
"all",
|
|
395
|
+
["==", "brunnel", "tunnel"],
|
|
396
|
+
["in", "class", "primary", "trunk"]
|
|
397
|
+
],
|
|
398
|
+
"layout": {"line-join": "round"},
|
|
399
|
+
"paint": {
|
|
400
|
+
"line-color": "rgb(233, 160, 182)",
|
|
401
|
+
"line-dasharray": [0.5, 0.25],
|
|
402
|
+
"line-width": {
|
|
403
|
+
"base": 1.2,
|
|
404
|
+
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"id": "tunnel_motorway_casing",
|
|
410
|
+
"type": "line",
|
|
411
|
+
"metadata": {},
|
|
412
|
+
"source": "openmaptiles",
|
|
413
|
+
"source-layer": "transportation",
|
|
414
|
+
"filter": [
|
|
415
|
+
"all",
|
|
416
|
+
["==", "class", "motorway"],
|
|
417
|
+
["==", "brunnel", "tunnel"]
|
|
418
|
+
],
|
|
419
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
420
|
+
"paint": {
|
|
421
|
+
"line-color": "rgb(233, 160, 182)",
|
|
422
|
+
"line-dasharray": [0.5, 0.25],
|
|
423
|
+
"line-width": {
|
|
424
|
+
"base": 1.2,
|
|
425
|
+
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"id": "tunnel_path_pedestrian",
|
|
431
|
+
"type": "line",
|
|
432
|
+
"metadata": {},
|
|
433
|
+
"source": "openmaptiles",
|
|
434
|
+
"source-layer": "transportation",
|
|
435
|
+
"filter": [
|
|
436
|
+
"all",
|
|
437
|
+
["==", "$type", "LineString"],
|
|
438
|
+
["==", "brunnel", "tunnel"],
|
|
439
|
+
["in", "class", "path", "pedestrian"]
|
|
440
|
+
],
|
|
441
|
+
"layout": {"visibility": "visible"},
|
|
442
|
+
"paint": {
|
|
443
|
+
"line-color": "rgba(216, 205, 206, 0.45)",
|
|
444
|
+
"line-dasharray": [1, 0.75],
|
|
445
|
+
"line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 6]]}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"id": "tunnel_motorway_link",
|
|
450
|
+
"type": "line",
|
|
451
|
+
"metadata": {},
|
|
452
|
+
"source": "openmaptiles",
|
|
453
|
+
"source-layer": "transportation",
|
|
454
|
+
"filter": [
|
|
455
|
+
"all",
|
|
456
|
+
["==", "class", "motorway_link"],
|
|
457
|
+
["==", "ramp", 1],
|
|
458
|
+
["==", "brunnel", "tunnel"]
|
|
459
|
+
],
|
|
460
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
461
|
+
"paint": {
|
|
462
|
+
"line-color": "rgb(251, 181, 195)",
|
|
463
|
+
"line-width": {
|
|
464
|
+
"base": 1.2,
|
|
465
|
+
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"id": "tunnel_service_track",
|
|
471
|
+
"type": "line",
|
|
472
|
+
"metadata": {},
|
|
473
|
+
"source": "openmaptiles",
|
|
474
|
+
"source-layer": "transportation",
|
|
475
|
+
"filter": [
|
|
476
|
+
"all",
|
|
477
|
+
["==", "brunnel", "tunnel"],
|
|
478
|
+
["in", "class", "service", "track"]
|
|
479
|
+
],
|
|
480
|
+
"layout": {"line-join": "round"},
|
|
481
|
+
"paint": {
|
|
482
|
+
"line-color": "rgb(255, 255, 255)",
|
|
483
|
+
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"id": "tunnel_link",
|
|
488
|
+
"type": "line",
|
|
489
|
+
"metadata": {},
|
|
490
|
+
"source": "openmaptiles",
|
|
491
|
+
"source-layer": "transportation",
|
|
492
|
+
"filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]],
|
|
493
|
+
"layout": {"line-join": "round"},
|
|
494
|
+
"paint": {
|
|
495
|
+
"line-color": "rgb(254, 240, 240)",
|
|
496
|
+
"line-width": {
|
|
497
|
+
"base": 1.2,
|
|
498
|
+
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"id": "tunnel_minor",
|
|
504
|
+
"type": "line",
|
|
505
|
+
"metadata": {},
|
|
506
|
+
"source": "openmaptiles",
|
|
507
|
+
"source-layer": "transportation",
|
|
508
|
+
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]],
|
|
509
|
+
"layout": {"line-join": "round"},
|
|
510
|
+
"paint": {
|
|
511
|
+
"line-color": "rgb(255, 255, 255)",
|
|
512
|
+
"line-opacity": 1,
|
|
513
|
+
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 11.5]]}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"id": "tunnel_secondary_tertiary",
|
|
518
|
+
"type": "line",
|
|
519
|
+
"metadata": {},
|
|
520
|
+
"source": "openmaptiles",
|
|
521
|
+
"source-layer": "transportation",
|
|
522
|
+
"filter": [
|
|
523
|
+
"all",
|
|
524
|
+
["==", "brunnel", "tunnel"],
|
|
525
|
+
["in", "class", "secondary", "tertiary"]
|
|
526
|
+
],
|
|
527
|
+
"layout": {"line-join": "round"},
|
|
528
|
+
"paint": {
|
|
529
|
+
"line-color": "rgb(255, 255, 255)",
|
|
530
|
+
"line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]}
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"id": "tunnel_trunk_primary",
|
|
535
|
+
"type": "line",
|
|
536
|
+
"metadata": {},
|
|
537
|
+
"source": "openmaptiles",
|
|
538
|
+
"source-layer": "transportation",
|
|
539
|
+
"filter": [
|
|
540
|
+
"all",
|
|
541
|
+
["==", "brunnel", "tunnel"],
|
|
542
|
+
["in", "class", "primary", "trunk"]
|
|
543
|
+
],
|
|
544
|
+
"layout": {"line-join": "round"},
|
|
545
|
+
"paint": {
|
|
546
|
+
"line-color": "rgb(254, 240, 240)",
|
|
547
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "tunnel_motorway",
|
|
552
|
+
"type": "line",
|
|
553
|
+
"metadata": {},
|
|
554
|
+
"source": "openmaptiles",
|
|
555
|
+
"source-layer": "transportation",
|
|
556
|
+
"filter": [
|
|
557
|
+
"all",
|
|
558
|
+
["==", "class", "motorway"],
|
|
559
|
+
["==", "brunnel", "tunnel"]
|
|
560
|
+
],
|
|
561
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
562
|
+
"paint": {
|
|
563
|
+
"line-color": "rgb(253, 209, 217)",
|
|
564
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"id": "tunnel_major_rail",
|
|
569
|
+
"type": "line",
|
|
570
|
+
"metadata": {},
|
|
571
|
+
"source": "openmaptiles",
|
|
572
|
+
"source-layer": "transportation",
|
|
573
|
+
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]],
|
|
574
|
+
"paint": {
|
|
575
|
+
"line-color": "rgb(208, 208, 208)",
|
|
576
|
+
"line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"id": "tunnel_major_rail_hatching",
|
|
581
|
+
"type": "line",
|
|
582
|
+
"metadata": {},
|
|
583
|
+
"source": "openmaptiles",
|
|
584
|
+
"source-layer": "transportation",
|
|
585
|
+
"filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]],
|
|
586
|
+
"paint": {
|
|
587
|
+
"line-color": "rgb(208, 208, 208)",
|
|
588
|
+
"line-dasharray": [0.2, 8],
|
|
589
|
+
"line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"id": "road_area_pier",
|
|
594
|
+
"type": "fill",
|
|
595
|
+
"metadata": {},
|
|
596
|
+
"source": "openmaptiles",
|
|
597
|
+
"source-layer": "transportation",
|
|
598
|
+
"filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "pier"]],
|
|
599
|
+
"layout": {"visibility": "visible"},
|
|
600
|
+
"paint": {"fill-antialias": true, "fill-color": "rgb(252, 252, 252)"}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"id": "road_pier",
|
|
604
|
+
"type": "line",
|
|
605
|
+
"metadata": {},
|
|
606
|
+
"source": "openmaptiles",
|
|
607
|
+
"source-layer": "transportation",
|
|
608
|
+
"filter": ["all", ["==", "$type", "LineString"], ["in", "class", "pier"]],
|
|
609
|
+
"layout": {"line-cap": "round", "line-join": "round"},
|
|
610
|
+
"paint": {
|
|
611
|
+
"line-color": "rgba(246, 241, 229, 1)",
|
|
612
|
+
"line-width": {"base": 1.2, "stops": [[15, 1], [17, 4]]}
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"id": "road_area_bridge",
|
|
617
|
+
"type": "fill",
|
|
618
|
+
"metadata": {},
|
|
619
|
+
"source": "openmaptiles",
|
|
620
|
+
"source-layer": "transportation",
|
|
621
|
+
"filter": [
|
|
622
|
+
"all",
|
|
623
|
+
["==", "$type", "Polygon"],
|
|
624
|
+
["==", "brunnel", "bridge"]
|
|
625
|
+
],
|
|
626
|
+
"layout": {"visibility": "visible"},
|
|
627
|
+
"paint": {
|
|
628
|
+
"fill-antialias": true,
|
|
629
|
+
"fill-color": "rgba(255, 255, 255, 0.6)"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"id": "road_area_pattern",
|
|
634
|
+
"type": "fill",
|
|
635
|
+
"metadata": {},
|
|
636
|
+
"source": "openmaptiles",
|
|
637
|
+
"source-layer": "transportation",
|
|
638
|
+
"filter": [
|
|
639
|
+
"all",
|
|
640
|
+
["==", "$type", "Polygon"],
|
|
641
|
+
["!has", "brunnel"],
|
|
642
|
+
["!in", "class", "bridge", "pier"]
|
|
643
|
+
],
|
|
644
|
+
"layout": {"visibility": "visible"},
|
|
645
|
+
"paint": {"fill-color": "rgba(252, 252, 252, 1.0)"}
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"id": "road_service_track_casing",
|
|
649
|
+
"type": "line",
|
|
650
|
+
"metadata": {},
|
|
651
|
+
"source": "openmaptiles",
|
|
652
|
+
"source-layer": "transportation",
|
|
653
|
+
"filter": [
|
|
654
|
+
"all",
|
|
655
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
656
|
+
["in", "class", "service", "track"]
|
|
657
|
+
],
|
|
658
|
+
"layout": {"line-cap": "round", "line-join": "round"},
|
|
659
|
+
"paint": {
|
|
660
|
+
"line-color": "rgb(225, 225, 225)",
|
|
661
|
+
"line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"id": "road_link_casing",
|
|
666
|
+
"type": "line",
|
|
667
|
+
"metadata": {},
|
|
668
|
+
"source": "openmaptiles",
|
|
669
|
+
"source-layer": "transportation",
|
|
670
|
+
"minzoom": 13,
|
|
671
|
+
"filter": [
|
|
672
|
+
"all",
|
|
673
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
674
|
+
[
|
|
675
|
+
"!in",
|
|
676
|
+
"class",
|
|
677
|
+
"motorway",
|
|
678
|
+
"trunk",
|
|
679
|
+
"primary",
|
|
680
|
+
"pedestrian",
|
|
681
|
+
"path",
|
|
682
|
+
"track",
|
|
683
|
+
"service"
|
|
684
|
+
],
|
|
685
|
+
["==", "ramp", 1]
|
|
686
|
+
],
|
|
687
|
+
"layout": {
|
|
688
|
+
"line-cap": "round",
|
|
689
|
+
"line-join": "round",
|
|
690
|
+
"visibility": "visible"
|
|
691
|
+
},
|
|
692
|
+
"paint": {
|
|
693
|
+
"line-color": "rgb(233, 160, 182)",
|
|
694
|
+
"line-opacity": 1,
|
|
695
|
+
"line-width": {
|
|
696
|
+
"base": 1.2,
|
|
697
|
+
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"id": "road_trunk_primary_link_casing",
|
|
703
|
+
"type": "line",
|
|
704
|
+
"metadata": {},
|
|
705
|
+
"source": "openmaptiles",
|
|
706
|
+
"source-layer": "transportation",
|
|
707
|
+
"filter": [
|
|
708
|
+
"all",
|
|
709
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
710
|
+
["==", "ramp", 1],
|
|
711
|
+
["in", "class", "primary", "trunk"]
|
|
712
|
+
],
|
|
713
|
+
"layout": {
|
|
714
|
+
"line-cap": "butt",
|
|
715
|
+
"line-join": "round",
|
|
716
|
+
"visibility": "visible"
|
|
717
|
+
},
|
|
718
|
+
"paint": {
|
|
719
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
720
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 0.7], [20, 14]]}
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"id": "road_motorway_link_casing",
|
|
725
|
+
"type": "line",
|
|
726
|
+
"metadata": {},
|
|
727
|
+
"source": "openmaptiles",
|
|
728
|
+
"source-layer": "transportation",
|
|
729
|
+
"minzoom": 12,
|
|
730
|
+
"filter": [
|
|
731
|
+
"all",
|
|
732
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
733
|
+
["==", "class", "motorway"],
|
|
734
|
+
["==", "ramp", 1]
|
|
735
|
+
],
|
|
736
|
+
"layout": {"line-cap": "butt", "line-join": "round"},
|
|
737
|
+
"paint": {
|
|
738
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
739
|
+
"line-opacity": 1,
|
|
740
|
+
"line-width": {
|
|
741
|
+
"base": 1.2,
|
|
742
|
+
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"id": "road_minor_casing",
|
|
748
|
+
"type": "line",
|
|
749
|
+
"metadata": {},
|
|
750
|
+
"source": "openmaptiles",
|
|
751
|
+
"source-layer": "transportation",
|
|
752
|
+
"filter": [
|
|
753
|
+
"all",
|
|
754
|
+
["==", "$type", "LineString"],
|
|
755
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
756
|
+
["in", "class", "minor"],
|
|
757
|
+
["!=", "ramp", "1"]
|
|
758
|
+
],
|
|
759
|
+
"layout": {"line-cap": "round", "line-join": "round"},
|
|
760
|
+
"paint": {
|
|
761
|
+
"line-color": "rgb(225, 225, 225)",
|
|
762
|
+
"line-opacity": {"stops": [[12, 0], [12.5, 1]]},
|
|
763
|
+
"line-width": {
|
|
764
|
+
"base": 1.2,
|
|
765
|
+
"stops": [[12, 0.5], [13, 1], [14, 4], [20, 20]]
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"id": "road_secondary_tertiary_casing",
|
|
771
|
+
"type": "line",
|
|
772
|
+
"metadata": {},
|
|
773
|
+
"source": "openmaptiles",
|
|
774
|
+
"source-layer": "transportation",
|
|
775
|
+
"filter": [
|
|
776
|
+
"all",
|
|
777
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
778
|
+
["in", "class", "secondary", "tertiary"],
|
|
779
|
+
["!=", "ramp", 1]
|
|
780
|
+
],
|
|
781
|
+
"layout": {
|
|
782
|
+
"line-cap": "round",
|
|
783
|
+
"line-join": "round",
|
|
784
|
+
"visibility": "none"
|
|
785
|
+
},
|
|
786
|
+
"paint": {
|
|
787
|
+
"line-color": "rgb(212, 212, 212)",
|
|
788
|
+
"line-opacity": 1,
|
|
789
|
+
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "road_trunk_primary_casing",
|
|
794
|
+
"type": "line",
|
|
795
|
+
"metadata": {},
|
|
796
|
+
"source": "openmaptiles",
|
|
797
|
+
"source-layer": "transportation",
|
|
798
|
+
"filter": [
|
|
799
|
+
"all",
|
|
800
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
801
|
+
["!=", "ramp", 1],
|
|
802
|
+
["in", "class", "primary", "trunk"],
|
|
803
|
+
["!=", "ramp", 1]
|
|
804
|
+
],
|
|
805
|
+
"layout": {
|
|
806
|
+
"line-cap": "butt",
|
|
807
|
+
"line-join": "round",
|
|
808
|
+
"visibility": "none"
|
|
809
|
+
},
|
|
810
|
+
"paint": {
|
|
811
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
812
|
+
"line-opacity": 1,
|
|
813
|
+
"line-width": {
|
|
814
|
+
"base": 1.2,
|
|
815
|
+
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"id": "road_motorway_casing",
|
|
821
|
+
"type": "line",
|
|
822
|
+
"metadata": {},
|
|
823
|
+
"source": "openmaptiles",
|
|
824
|
+
"source-layer": "transportation",
|
|
825
|
+
"minzoom": 5,
|
|
826
|
+
"filter": [
|
|
827
|
+
"all",
|
|
828
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
829
|
+
["==", "class", "motorway"],
|
|
830
|
+
["!=", "ramp", 1]
|
|
831
|
+
],
|
|
832
|
+
"layout": {
|
|
833
|
+
"line-cap": "butt",
|
|
834
|
+
"line-join": "round",
|
|
835
|
+
"visibility": "visible"
|
|
836
|
+
},
|
|
837
|
+
"paint": {
|
|
838
|
+
"line-color": "rgba(163, 213, 217, .)",
|
|
839
|
+
"line-width": {
|
|
840
|
+
"base": 1.2,
|
|
841
|
+
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"id": "road_path_pedestrian",
|
|
847
|
+
"type": "line",
|
|
848
|
+
"metadata": {},
|
|
849
|
+
"source": "openmaptiles",
|
|
850
|
+
"source-layer": "transportation",
|
|
851
|
+
"minzoom": 14,
|
|
852
|
+
"filter": [
|
|
853
|
+
"all",
|
|
854
|
+
["==", "$type", "LineString"],
|
|
855
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
856
|
+
["in", "class", "path", "pedestrian"]
|
|
857
|
+
],
|
|
858
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
859
|
+
"paint": {
|
|
860
|
+
"line-color": "rgba(216, 205, 206, 0.45)",
|
|
861
|
+
"line-dasharray": [1, 1],
|
|
862
|
+
"line-width": {"base": 1.2, "stops": [[14, 1], [20, 6]]}
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"id": "road_link",
|
|
867
|
+
"type": "line",
|
|
868
|
+
"metadata": {},
|
|
869
|
+
"source": "openmaptiles",
|
|
870
|
+
"source-layer": "transportation",
|
|
871
|
+
"minzoom": 13,
|
|
872
|
+
"filter": [
|
|
873
|
+
"all",
|
|
874
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
875
|
+
["==", "ramp", 1],
|
|
876
|
+
[
|
|
877
|
+
"!in",
|
|
878
|
+
"class",
|
|
879
|
+
"motorway",
|
|
880
|
+
"trunk",
|
|
881
|
+
"primary",
|
|
882
|
+
"pedestrian",
|
|
883
|
+
"path",
|
|
884
|
+
"track",
|
|
885
|
+
"service"
|
|
886
|
+
]
|
|
887
|
+
],
|
|
888
|
+
"layout": {
|
|
889
|
+
"line-cap": "round",
|
|
890
|
+
"line-join": "round",
|
|
891
|
+
"visibility": "visible"
|
|
892
|
+
},
|
|
893
|
+
"paint": {
|
|
894
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
895
|
+
"line-width": {
|
|
896
|
+
"base": 1.2,
|
|
897
|
+
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"id": "road_trunk_primary_link",
|
|
903
|
+
"type": "line",
|
|
904
|
+
"metadata": {},
|
|
905
|
+
"source": "openmaptiles",
|
|
906
|
+
"source-layer": "transportation",
|
|
907
|
+
"filter": [
|
|
908
|
+
"all",
|
|
909
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
910
|
+
["==", "ramp", 1],
|
|
911
|
+
["in", "class", "primary", "trunk"]
|
|
912
|
+
],
|
|
913
|
+
"layout": {
|
|
914
|
+
"line-cap": "round",
|
|
915
|
+
"line-join": "round",
|
|
916
|
+
"visibility": "visible"
|
|
917
|
+
},
|
|
918
|
+
"paint": {
|
|
919
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
920
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 0.5], [20, 10]]}
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"id": "road_motorway_link",
|
|
925
|
+
"type": "line",
|
|
926
|
+
"metadata": {},
|
|
927
|
+
"source": "openmaptiles",
|
|
928
|
+
"source-layer": "transportation",
|
|
929
|
+
"minzoom": 12,
|
|
930
|
+
"filter": [
|
|
931
|
+
"all",
|
|
932
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
933
|
+
["==", "class", "motorway"],
|
|
934
|
+
["==", "ramp", 1]
|
|
935
|
+
],
|
|
936
|
+
"layout": {"line-cap": "round", "line-join": "round"},
|
|
937
|
+
"paint": {
|
|
938
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
939
|
+
"line-width": {
|
|
940
|
+
"base": 1.2,
|
|
941
|
+
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"id": "road_service_track",
|
|
947
|
+
"type": "line",
|
|
948
|
+
"metadata": {},
|
|
949
|
+
"source": "openmaptiles",
|
|
950
|
+
"source-layer": "transportation",
|
|
951
|
+
"filter": [
|
|
952
|
+
"all",
|
|
953
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
954
|
+
["in", "class", "service", "track"]
|
|
955
|
+
],
|
|
956
|
+
"layout": {
|
|
957
|
+
"line-cap": "round",
|
|
958
|
+
"line-join": "round",
|
|
959
|
+
"visibility": "visible"
|
|
960
|
+
},
|
|
961
|
+
"paint": {
|
|
962
|
+
"line-color": "rgb(255, 255, 255)",
|
|
963
|
+
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"id": "road_minor",
|
|
968
|
+
"type": "line",
|
|
969
|
+
"metadata": {},
|
|
970
|
+
"source": "openmaptiles",
|
|
971
|
+
"source-layer": "transportation",
|
|
972
|
+
"filter": [
|
|
973
|
+
"all",
|
|
974
|
+
["==", "$type", "LineString"],
|
|
975
|
+
[
|
|
976
|
+
"all",
|
|
977
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
978
|
+
["in", "class", "minor"]
|
|
979
|
+
]
|
|
980
|
+
],
|
|
981
|
+
"layout": {
|
|
982
|
+
"line-cap": "round",
|
|
983
|
+
"line-join": "round",
|
|
984
|
+
"visibility": "none"
|
|
985
|
+
},
|
|
986
|
+
"paint": {
|
|
987
|
+
"line-color": "rgb(255, 255, 255)",
|
|
988
|
+
"line-opacity": 1,
|
|
989
|
+
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"id": "road_secondary_tertiary",
|
|
994
|
+
"type": "line",
|
|
995
|
+
"metadata": {},
|
|
996
|
+
"source": "openmaptiles",
|
|
997
|
+
"source-layer": "transportation",
|
|
998
|
+
"filter": [
|
|
999
|
+
"all",
|
|
1000
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
1001
|
+
["in", "class", "secondary", "tertiary"]
|
|
1002
|
+
],
|
|
1003
|
+
"layout": {
|
|
1004
|
+
"line-cap": "round",
|
|
1005
|
+
"line-join": "round",
|
|
1006
|
+
"visibility": "none"
|
|
1007
|
+
},
|
|
1008
|
+
"paint": {
|
|
1009
|
+
"line-color": "rgb(255, 255, 255)",
|
|
1010
|
+
"line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]}
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"id": "road_trunk_primary",
|
|
1015
|
+
"type": "line",
|
|
1016
|
+
"metadata": {},
|
|
1017
|
+
"source": "openmaptiles",
|
|
1018
|
+
"source-layer": "transportation",
|
|
1019
|
+
"filter": [
|
|
1020
|
+
"all",
|
|
1021
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
1022
|
+
["!=", "ramp", 1],
|
|
1023
|
+
["in", "class", "primary", "trunk"]
|
|
1024
|
+
],
|
|
1025
|
+
"layout": {
|
|
1026
|
+
"line-cap": "round",
|
|
1027
|
+
"line-join": "round",
|
|
1028
|
+
"visibility": "visible"
|
|
1029
|
+
},
|
|
1030
|
+
"paint": {
|
|
1031
|
+
"line-color": "rgba(246, 241, 232, 1)",
|
|
1032
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"id": "road_motorway",
|
|
1037
|
+
"type": "line",
|
|
1038
|
+
"metadata": {},
|
|
1039
|
+
"source": "openmaptiles",
|
|
1040
|
+
"source-layer": "transportation",
|
|
1041
|
+
"minzoom": 5,
|
|
1042
|
+
"filter": [
|
|
1043
|
+
"all",
|
|
1044
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
1045
|
+
["==", "class", "motorway"],
|
|
1046
|
+
["!=", "ramp", 1]
|
|
1047
|
+
],
|
|
1048
|
+
"layout": {
|
|
1049
|
+
"line-cap": "round",
|
|
1050
|
+
"line-join": "round",
|
|
1051
|
+
"visibility": "visible"
|
|
1052
|
+
},
|
|
1053
|
+
"paint": {
|
|
1054
|
+
"line-color": {
|
|
1055
|
+
"stops": [
|
|
1056
|
+
[5, "rgba(246, 241, 232, 1)"],
|
|
1057
|
+
[6, "rgba(246, 241, 232, 1)"]
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1060
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"id": "road_major_rail",
|
|
1065
|
+
"type": "line",
|
|
1066
|
+
"metadata": {},
|
|
1067
|
+
"source": "openmaptiles",
|
|
1068
|
+
"source-layer": "transportation",
|
|
1069
|
+
"filter": [
|
|
1070
|
+
"all",
|
|
1071
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
1072
|
+
["==", "class", "rail"]
|
|
1073
|
+
],
|
|
1074
|
+
"paint": {
|
|
1075
|
+
"line-color": "rgb(208, 208, 208)",
|
|
1076
|
+
"line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"id": "road_major_rail_hatching",
|
|
1081
|
+
"type": "line",
|
|
1082
|
+
"metadata": {},
|
|
1083
|
+
"source": "openmaptiles",
|
|
1084
|
+
"source-layer": "transportation",
|
|
1085
|
+
"filter": [
|
|
1086
|
+
"all",
|
|
1087
|
+
["!in", "brunnel", "bridge", "tunnel"],
|
|
1088
|
+
["==", "class", "rail"]
|
|
1089
|
+
],
|
|
1090
|
+
"paint": {
|
|
1091
|
+
"line-color": "rgb(208, 208, 208)",
|
|
1092
|
+
"line-dasharray": [0.2, 8],
|
|
1093
|
+
"line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"id": "building",
|
|
1098
|
+
"type": "fill",
|
|
1099
|
+
"metadata": {},
|
|
1100
|
+
"source": "openmaptiles",
|
|
1101
|
+
"source-layer": "building",
|
|
1102
|
+
"minzoom": 13,
|
|
1103
|
+
"maxzoom": 14,
|
|
1104
|
+
"layout": {"visibility": "visible"},
|
|
1105
|
+
"paint": {
|
|
1106
|
+
"fill-color": "rgba(181, 181, 181, 0.3)",
|
|
1107
|
+
"fill-outline-color": {
|
|
1108
|
+
"stops": [
|
|
1109
|
+
[13, "rgba(198, 197, 197, 0.32)"],
|
|
1110
|
+
[14, "rgb(198, 197, 197)"]
|
|
1111
|
+
]
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"id": "building-3d",
|
|
1117
|
+
"type": "fill-extrusion",
|
|
1118
|
+
"metadata": {},
|
|
1119
|
+
"source": "openmaptiles",
|
|
1120
|
+
"source-layer": "building",
|
|
1121
|
+
"minzoom": 14,
|
|
1122
|
+
"filter": ["all", ["!has", "hide_3d"]],
|
|
1123
|
+
"layout": {"visibility": "visible"},
|
|
1124
|
+
"paint": {
|
|
1125
|
+
"fill-extrusion-base": {
|
|
1126
|
+
"property": "render_min_height",
|
|
1127
|
+
"type": "identity"
|
|
1128
|
+
},
|
|
1129
|
+
"fill-extrusion-color": "rgb(181, 181, 181)",
|
|
1130
|
+
"fill-extrusion-height": {
|
|
1131
|
+
"property": "render_height",
|
|
1132
|
+
"type": "identity"
|
|
1133
|
+
},
|
|
1134
|
+
"fill-extrusion-opacity": 0.3
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"id": "waterway-bridge-case",
|
|
1139
|
+
"type": "line",
|
|
1140
|
+
"source": "openmaptiles",
|
|
1141
|
+
"source-layer": "waterway",
|
|
1142
|
+
"filter": [
|
|
1143
|
+
"all",
|
|
1144
|
+
["==", "$type", "LineString"],
|
|
1145
|
+
["==", "brunnel", "bridge"]
|
|
1146
|
+
],
|
|
1147
|
+
"layout": {"line-cap": "butt", "line-join": "miter"},
|
|
1148
|
+
"paint": {
|
|
1149
|
+
"line-color": "rgb(224, 224, 224)",
|
|
1150
|
+
"line-gap-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]},
|
|
1151
|
+
"line-width": {"base": 1.6, "stops": [[12, 0.5], [20, 5]]}
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"id": "waterway-bridge",
|
|
1156
|
+
"type": "line",
|
|
1157
|
+
"source": "openmaptiles",
|
|
1158
|
+
"source-layer": "waterway",
|
|
1159
|
+
"filter": [
|
|
1160
|
+
"all",
|
|
1161
|
+
["==", "$type", "LineString"],
|
|
1162
|
+
["==", "brunnel", "bridge"]
|
|
1163
|
+
],
|
|
1164
|
+
"layout": {"line-cap": "round", "line-join": "round"},
|
|
1165
|
+
"paint": {
|
|
1166
|
+
"line-color": "rgb(223, 229, 235)",
|
|
1167
|
+
"line-width": {"base": 1.3, "stops": [[13, 0.5], [20, 6]]}
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"id": "bridge_motorway_link_casing",
|
|
1172
|
+
"type": "line",
|
|
1173
|
+
"metadata": {},
|
|
1174
|
+
"source": "openmaptiles",
|
|
1175
|
+
"source-layer": "transportation",
|
|
1176
|
+
"filter": [
|
|
1177
|
+
"all",
|
|
1178
|
+
["==", "class", "motorway"],
|
|
1179
|
+
["==", "ramp", 1],
|
|
1180
|
+
["==", "brunnel", "bridge"]
|
|
1181
|
+
],
|
|
1182
|
+
"layout": {"line-join": "round"},
|
|
1183
|
+
"paint": {
|
|
1184
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1185
|
+
"line-opacity": 1,
|
|
1186
|
+
"line-width": {
|
|
1187
|
+
"base": 1.2,
|
|
1188
|
+
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"id": "bridge_service_track_casing",
|
|
1194
|
+
"type": "line",
|
|
1195
|
+
"metadata": {},
|
|
1196
|
+
"source": "openmaptiles",
|
|
1197
|
+
"source-layer": "transportation",
|
|
1198
|
+
"filter": [
|
|
1199
|
+
"all",
|
|
1200
|
+
["==", "brunnel", "bridge"],
|
|
1201
|
+
["in", "class", "service", "track"]
|
|
1202
|
+
],
|
|
1203
|
+
"layout": {"line-join": "round"},
|
|
1204
|
+
"paint": {
|
|
1205
|
+
"line-color": "rgb(225, 225, 225)",
|
|
1206
|
+
"line-width": {"base": 1.2, "stops": [[15, 1], [16, 4], [20, 11]]}
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"id": "bridge_link_casing",
|
|
1211
|
+
"type": "line",
|
|
1212
|
+
"metadata": {},
|
|
1213
|
+
"source": "openmaptiles",
|
|
1214
|
+
"source-layer": "transportation",
|
|
1215
|
+
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
|
|
1216
|
+
"layout": {"line-join": "round"},
|
|
1217
|
+
"paint": {
|
|
1218
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1219
|
+
"line-opacity": 1,
|
|
1220
|
+
"line-width": {
|
|
1221
|
+
"base": 1.2,
|
|
1222
|
+
"stops": [[12, 1], [13, 3], [14, 4], [20, 15]]
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"id": "bridge_street_casing",
|
|
1228
|
+
"type": "line",
|
|
1229
|
+
"metadata": {},
|
|
1230
|
+
"source": "openmaptiles",
|
|
1231
|
+
"source-layer": "transportation",
|
|
1232
|
+
"filter": [
|
|
1233
|
+
"all",
|
|
1234
|
+
["==", "brunnel", "bridge"],
|
|
1235
|
+
["in", "class", "street", "street_limited"]
|
|
1236
|
+
],
|
|
1237
|
+
"layout": {"line-join": "round"},
|
|
1238
|
+
"paint": {
|
|
1239
|
+
"line-color": "rgb(209, 209, 209)",
|
|
1240
|
+
"line-opacity": {"stops": [[12, 0], [12.5, 1]]},
|
|
1241
|
+
"line-width": {
|
|
1242
|
+
"base": 1.2,
|
|
1243
|
+
"stops": [[12, 0.5], [13, 1], [14, 4], [20, 25]]
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"id": "bridge_path_pedestrian_casing",
|
|
1249
|
+
"type": "line",
|
|
1250
|
+
"metadata": {},
|
|
1251
|
+
"source": "openmaptiles",
|
|
1252
|
+
"source-layer": "transportation",
|
|
1253
|
+
"filter": [
|
|
1254
|
+
"all",
|
|
1255
|
+
["==", "$type", "LineString"],
|
|
1256
|
+
["==", "brunnel", "bridge"],
|
|
1257
|
+
["in", "class", "path", "pedestrian"]
|
|
1258
|
+
],
|
|
1259
|
+
"layout": {"line-join": "miter", "visibility": "visible"},
|
|
1260
|
+
"paint": {
|
|
1261
|
+
"line-color": "rgb(225, 225, 225)",
|
|
1262
|
+
"line-dasharray": [1, 0],
|
|
1263
|
+
"line-width": {"base": 1.2, "stops": [[14, 1.5], [20, 18]]}
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"id": "bridge_secondary_tertiary_casing",
|
|
1268
|
+
"type": "line",
|
|
1269
|
+
"metadata": {},
|
|
1270
|
+
"source": "openmaptiles",
|
|
1271
|
+
"source-layer": "transportation",
|
|
1272
|
+
"filter": [
|
|
1273
|
+
"all",
|
|
1274
|
+
["==", "brunnel", "bridge"],
|
|
1275
|
+
["in", "class", "secondary", "tertiary"]
|
|
1276
|
+
],
|
|
1277
|
+
"layout": {"line-join": "round"},
|
|
1278
|
+
"paint": {
|
|
1279
|
+
"line-color": "rgb(212, 212, 212)",
|
|
1280
|
+
"line-opacity": 1,
|
|
1281
|
+
"line-width": {"base": 1.2, "stops": [[8, 1.5], [20, 17]]}
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"id": "bridge_trunk_primary_casing",
|
|
1286
|
+
"type": "line",
|
|
1287
|
+
"metadata": {},
|
|
1288
|
+
"source": "openmaptiles",
|
|
1289
|
+
"source-layer": "transportation",
|
|
1290
|
+
"filter": [
|
|
1291
|
+
"all",
|
|
1292
|
+
["==", "brunnel", "bridge"],
|
|
1293
|
+
["in", "class", "primary", "trunk"]
|
|
1294
|
+
],
|
|
1295
|
+
"layout": {"line-join": "round"},
|
|
1296
|
+
"paint": {
|
|
1297
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1298
|
+
"line-width": {
|
|
1299
|
+
"base": 1.2,
|
|
1300
|
+
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"id": "bridge_motorway_casing",
|
|
1306
|
+
"type": "line",
|
|
1307
|
+
"metadata": {},
|
|
1308
|
+
"source": "openmaptiles",
|
|
1309
|
+
"source-layer": "transportation",
|
|
1310
|
+
"filter": [
|
|
1311
|
+
"all",
|
|
1312
|
+
["==", "class", "motorway"],
|
|
1313
|
+
["==", "brunnel", "bridge"],
|
|
1314
|
+
["!=", "ramp", 1]
|
|
1315
|
+
],
|
|
1316
|
+
"layout": {"line-join": "round"},
|
|
1317
|
+
"paint": {
|
|
1318
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1319
|
+
"line-width": {
|
|
1320
|
+
"base": 1.2,
|
|
1321
|
+
"stops": [[5, 0.4], [6, 0.7], [7, 1.75], [20, 22]]
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"id": "bridge_path_pedestrian",
|
|
1327
|
+
"type": "line",
|
|
1328
|
+
"metadata": {},
|
|
1329
|
+
"source": "openmaptiles",
|
|
1330
|
+
"source-layer": "transportation",
|
|
1331
|
+
"filter": [
|
|
1332
|
+
"all",
|
|
1333
|
+
["==", "$type", "LineString"],
|
|
1334
|
+
["==", "brunnel", "bridge"],
|
|
1335
|
+
["in", "class", "path", "pedestrian"]
|
|
1336
|
+
],
|
|
1337
|
+
"paint": {
|
|
1338
|
+
"line-color": "rgb(255, 255, 255)",
|
|
1339
|
+
"line-dasharray": [1, 0.3],
|
|
1340
|
+
"line-width": {"base": 1.2, "stops": [[14, 0.5], [20, 10]]}
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"id": "bridge_motorway_link",
|
|
1345
|
+
"type": "line",
|
|
1346
|
+
"metadata": {},
|
|
1347
|
+
"source": "openmaptiles",
|
|
1348
|
+
"source-layer": "transportation",
|
|
1349
|
+
"filter": [
|
|
1350
|
+
"all",
|
|
1351
|
+
["==", "class", "motorway"],
|
|
1352
|
+
["==", "ramp", 1],
|
|
1353
|
+
["==", "brunnel", "bridge"]
|
|
1354
|
+
],
|
|
1355
|
+
"layout": {"line-join": "round"},
|
|
1356
|
+
"paint": {
|
|
1357
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1358
|
+
"line-width": {
|
|
1359
|
+
"base": 1.2,
|
|
1360
|
+
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"id": "bridge_service_track",
|
|
1366
|
+
"type": "line",
|
|
1367
|
+
"metadata": {},
|
|
1368
|
+
"source": "openmaptiles",
|
|
1369
|
+
"source-layer": "transportation",
|
|
1370
|
+
"filter": [
|
|
1371
|
+
"all",
|
|
1372
|
+
["==", "brunnel", "bridge"],
|
|
1373
|
+
["in", "class", "service", "track"]
|
|
1374
|
+
],
|
|
1375
|
+
"layout": {"line-join": "round"},
|
|
1376
|
+
"paint": {
|
|
1377
|
+
"line-color": "rgb(255, 255, 255)",
|
|
1378
|
+
"line-width": {"base": 1.2, "stops": [[15.5, 0], [16, 2], [20, 7.5]]}
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"id": "bridge_link",
|
|
1383
|
+
"type": "line",
|
|
1384
|
+
"metadata": {},
|
|
1385
|
+
"source": "openmaptiles",
|
|
1386
|
+
"source-layer": "transportation",
|
|
1387
|
+
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
|
|
1388
|
+
"layout": {"line-join": "round"},
|
|
1389
|
+
"paint": {
|
|
1390
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1391
|
+
"line-width": {
|
|
1392
|
+
"base": 1.2,
|
|
1393
|
+
"stops": [[12.5, 0], [13, 1.5], [14, 2.5], [20, 11.5]]
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"id": "bridge_street",
|
|
1399
|
+
"type": "line",
|
|
1400
|
+
"metadata": {},
|
|
1401
|
+
"source": "openmaptiles",
|
|
1402
|
+
"source-layer": "transportation",
|
|
1403
|
+
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]],
|
|
1404
|
+
"layout": {"line-join": "round"},
|
|
1405
|
+
"paint": {
|
|
1406
|
+
"line-color": "rgb(255, 255, 255)",
|
|
1407
|
+
"line-opacity": 1,
|
|
1408
|
+
"line-width": {"base": 1.2, "stops": [[13.5, 0], [14, 2.5], [20, 18]]}
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"id": "bridge_secondary_tertiary",
|
|
1413
|
+
"type": "line",
|
|
1414
|
+
"metadata": {},
|
|
1415
|
+
"source": "openmaptiles",
|
|
1416
|
+
"source-layer": "transportation",
|
|
1417
|
+
"filter": [
|
|
1418
|
+
"all",
|
|
1419
|
+
["==", "brunnel", "bridge"],
|
|
1420
|
+
["in", "class", "secondary", "tertiary"]
|
|
1421
|
+
],
|
|
1422
|
+
"layout": {"line-join": "round"},
|
|
1423
|
+
"paint": {
|
|
1424
|
+
"line-color": "rgb(255, 255, 255)",
|
|
1425
|
+
"line-width": {"base": 1.2, "stops": [[6.5, 0], [8, 0.5], [20, 13]]}
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"id": "bridge_trunk_primary",
|
|
1430
|
+
"type": "line",
|
|
1431
|
+
"metadata": {},
|
|
1432
|
+
"source": "openmaptiles",
|
|
1433
|
+
"source-layer": "transportation",
|
|
1434
|
+
"filter": [
|
|
1435
|
+
"all",
|
|
1436
|
+
["==", "brunnel", "bridge"],
|
|
1437
|
+
["in", "class", "primary", "trunk"]
|
|
1438
|
+
],
|
|
1439
|
+
"layout": {"line-join": "round"},
|
|
1440
|
+
"paint": {
|
|
1441
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1442
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"id": "bridge_motorway",
|
|
1447
|
+
"type": "line",
|
|
1448
|
+
"metadata": {},
|
|
1449
|
+
"source": "openmaptiles",
|
|
1450
|
+
"source-layer": "transportation",
|
|
1451
|
+
"filter": [
|
|
1452
|
+
"all",
|
|
1453
|
+
["==", "class", "motorway"],
|
|
1454
|
+
["==", "brunnel", "bridge"],
|
|
1455
|
+
["!=", "ramp", 1]
|
|
1456
|
+
],
|
|
1457
|
+
"layout": {"line-join": "round"},
|
|
1458
|
+
"paint": {
|
|
1459
|
+
"line-color": "rgba(223, 219, 202, 1)",
|
|
1460
|
+
"line-width": {"base": 1.2, "stops": [[5, 0], [7, 1], [20, 18]]}
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"id": "bridge_major_rail",
|
|
1465
|
+
"type": "line",
|
|
1466
|
+
"metadata": {},
|
|
1467
|
+
"source": "openmaptiles",
|
|
1468
|
+
"source-layer": "transportation",
|
|
1469
|
+
"filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
|
|
1470
|
+
"paint": {
|
|
1471
|
+
"line-color": "rgb(208, 208, 208)",
|
|
1472
|
+
"line-width": {"base": 1.4, "stops": [[14, 0.4], [15, 0.75], [20, 2]]}
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"id": "bridge_major_rail_hatching",
|
|
1477
|
+
"type": "line",
|
|
1478
|
+
"metadata": {},
|
|
1479
|
+
"source": "openmaptiles",
|
|
1480
|
+
"source-layer": "transportation",
|
|
1481
|
+
"filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
|
|
1482
|
+
"paint": {
|
|
1483
|
+
"line-color": "rgb(208, 208, 208)",
|
|
1484
|
+
"line-dasharray": [0.2, 8],
|
|
1485
|
+
"line-width": {"base": 1.4, "stops": [[14.5, 0], [15, 3], [20, 8]]}
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"id": "cablecar",
|
|
1490
|
+
"type": "line",
|
|
1491
|
+
"source": "openmaptiles",
|
|
1492
|
+
"source-layer": "transportation",
|
|
1493
|
+
"minzoom": 13,
|
|
1494
|
+
"filter": ["==", "class", "cable_car"],
|
|
1495
|
+
"layout": {"line-cap": "round", "visibility": "visible"},
|
|
1496
|
+
"paint": {
|
|
1497
|
+
"line-color": "rgb(199, 199, 199)",
|
|
1498
|
+
"line-width": {"base": 1, "stops": [[11, 1], [19, 2.5]]}
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"id": "cablecar-dash",
|
|
1503
|
+
"type": "line",
|
|
1504
|
+
"source": "openmaptiles",
|
|
1505
|
+
"source-layer": "transportation",
|
|
1506
|
+
"minzoom": 13,
|
|
1507
|
+
"filter": ["==", "class", "cable_car"],
|
|
1508
|
+
"layout": {"line-cap": "round", "visibility": "visible"},
|
|
1509
|
+
"paint": {
|
|
1510
|
+
"line-color": "rgb(199, 199, 199)",
|
|
1511
|
+
"line-dasharray": [2, 3],
|
|
1512
|
+
"line-width": {"base": 1, "stops": [[11, 3], [19, 5.5]]}
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"id": "boundary_3",
|
|
1517
|
+
"type": "line",
|
|
1518
|
+
"metadata": {},
|
|
1519
|
+
"source": "openmaptiles",
|
|
1520
|
+
"source-layer": "boundary",
|
|
1521
|
+
"filter": ["match", ["get", "admin_level"], [3, 4], true, false],
|
|
1522
|
+
"layout": {"line-join": "round", "visibility": "visible"},
|
|
1523
|
+
"paint": {
|
|
1524
|
+
"line-color": "rgb(197, 208, 216)",
|
|
1525
|
+
"line-dasharray": [1, 1],
|
|
1526
|
+
"line-width": {"base": 1, "stops": [[4, 0.4], [5, 1], [12, 1.8]]},
|
|
1527
|
+
"line-opacity": 0.5
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"id": "boundary_2",
|
|
1532
|
+
"type": "line",
|
|
1533
|
+
"metadata": {},
|
|
1534
|
+
"source": "openmaptiles",
|
|
1535
|
+
"source-layer": "boundary",
|
|
1536
|
+
"filter": ["all", ["==", "admin_level", 2], ["!=", "disputed", 1]],
|
|
1537
|
+
"layout": {
|
|
1538
|
+
"line-cap": "round",
|
|
1539
|
+
"line-join": "round",
|
|
1540
|
+
"visibility": "visible"
|
|
1541
|
+
},
|
|
1542
|
+
"paint": {
|
|
1543
|
+
"line-color": "rgb(197, 208, 216)",
|
|
1544
|
+
"line-opacity": {"base": 1, "stops": [[0, 0.4], [4, 0.8]]},
|
|
1545
|
+
"line-width": {"base": 1, "stops": [[3, 1], [5, 1.2], [12, 3]]}
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"id": "boundary_disputed_level_2",
|
|
1550
|
+
"type": "line",
|
|
1551
|
+
"source": "openmaptiles",
|
|
1552
|
+
"source-layer": "boundary",
|
|
1553
|
+
"minzoom": 0,
|
|
1554
|
+
"filter": ["all", ["<=", "admin_level", 2], ["==", "disputed", 1]],
|
|
1555
|
+
"layout": {
|
|
1556
|
+
"line-cap": "round",
|
|
1557
|
+
"line-join": "round",
|
|
1558
|
+
"visibility": "visible"
|
|
1559
|
+
},
|
|
1560
|
+
"paint": {
|
|
1561
|
+
"line-color": "rgb(197, 208, 216)",
|
|
1562
|
+
"line-width": 1,
|
|
1563
|
+
"line-opacity": 0.7,
|
|
1564
|
+
"line-dasharray": [6, 6]
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"id": "water_name_line",
|
|
1569
|
+
"type": "symbol",
|
|
1570
|
+
"metadata": {},
|
|
1571
|
+
"source": "openmaptiles",
|
|
1572
|
+
"source-layer": "water_name",
|
|
1573
|
+
"minzoom": 0,
|
|
1574
|
+
"filter": ["all", ["==", "$type", "LineString"]],
|
|
1575
|
+
"layout": {
|
|
1576
|
+
"symbol-placement": "line",
|
|
1577
|
+
"text-field": "{name_en}",
|
|
1578
|
+
"text-font": ["Open Sans Regular"],
|
|
1579
|
+
"text-max-width": 5,
|
|
1580
|
+
"text-size": 12
|
|
1581
|
+
},
|
|
1582
|
+
"paint": {
|
|
1583
|
+
"text-color": "rgb(178, 178, 178)",
|
|
1584
|
+
"text-halo-color": "rgba(255, 255, 255, 0.7)",
|
|
1585
|
+
"text-halo-width": 1
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"id": "water_name_point",
|
|
1590
|
+
"type": "symbol",
|
|
1591
|
+
"metadata": {},
|
|
1592
|
+
"source": "openmaptiles",
|
|
1593
|
+
"source-layer": "water_name",
|
|
1594
|
+
"minzoom": 2,
|
|
1595
|
+
"maxzoom": 24,
|
|
1596
|
+
"filter": ["all", ["==", "$type", "Point"], ["!=", "class", "ocean"]],
|
|
1597
|
+
"layout": {
|
|
1598
|
+
"text-field": "{name_en}",
|
|
1599
|
+
"text-font": ["Open Sans Regular"],
|
|
1600
|
+
"text-max-width": 5,
|
|
1601
|
+
"text-size": 12
|
|
1602
|
+
},
|
|
1603
|
+
"paint": {
|
|
1604
|
+
"text-color": "rgba(159, 178, 195, 0.8)",
|
|
1605
|
+
"text-halo-color": "rgba(255, 255, 255, 0)",
|
|
1606
|
+
"text-halo-width": 1
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"id": "water_ocean_name_point",
|
|
1611
|
+
"type": "symbol",
|
|
1612
|
+
"metadata": {},
|
|
1613
|
+
"source": "openmaptiles",
|
|
1614
|
+
"source-layer": "water_name",
|
|
1615
|
+
"minzoom": 0,
|
|
1616
|
+
"filter": ["all", ["==", "$type", "Point"], ["==", "class", "ocean"]],
|
|
1617
|
+
"layout": {
|
|
1618
|
+
"text-field": "{name_en}",
|
|
1619
|
+
"text-font": ["Open Sans Regular"],
|
|
1620
|
+
"text-max-width": 5,
|
|
1621
|
+
"text-size": 12
|
|
1622
|
+
},
|
|
1623
|
+
"paint": {
|
|
1624
|
+
"text-color": "rgba(159, 178, 195, 0.6)",
|
|
1625
|
+
"text-halo-color": "rgba(255, 255, 255, 0)",
|
|
1626
|
+
"text-halo-width": 1
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"id": "poi_z16_subclass",
|
|
1631
|
+
"type": "symbol",
|
|
1632
|
+
"metadata": {},
|
|
1633
|
+
"source": "openmaptiles",
|
|
1634
|
+
"source-layer": "poi",
|
|
1635
|
+
"minzoom": 16,
|
|
1636
|
+
"filter": [
|
|
1637
|
+
"all",
|
|
1638
|
+
["==", "$type", "Point"],
|
|
1639
|
+
[">=", "rank", 20],
|
|
1640
|
+
[
|
|
1641
|
+
"any",
|
|
1642
|
+
[
|
|
1643
|
+
"all",
|
|
1644
|
+
["in", "class", "pitch"],
|
|
1645
|
+
[
|
|
1646
|
+
"in",
|
|
1647
|
+
"subclass",
|
|
1648
|
+
"soccer",
|
|
1649
|
+
"tennis",
|
|
1650
|
+
"baseball",
|
|
1651
|
+
"basketball",
|
|
1652
|
+
"swimming",
|
|
1653
|
+
"golf"
|
|
1654
|
+
]
|
|
1655
|
+
]
|
|
1656
|
+
],
|
|
1657
|
+
["any", ["!has", "level"], ["==", "level", 0]]
|
|
1658
|
+
],
|
|
1659
|
+
"layout": {
|
|
1660
|
+
"text-anchor": "top",
|
|
1661
|
+
"text-field": "{name_en}",
|
|
1662
|
+
"text-font": ["Open Sans Italic"],
|
|
1663
|
+
"text-max-width": 9,
|
|
1664
|
+
"text-offset": [0, 0.6],
|
|
1665
|
+
"text-padding": 2,
|
|
1666
|
+
"text-size": 12,
|
|
1667
|
+
"visibility": "none"
|
|
1668
|
+
},
|
|
1669
|
+
"paint": {
|
|
1670
|
+
"text-color": "#666",
|
|
1671
|
+
"text-halo-blur": 0.5,
|
|
1672
|
+
"text-halo-color": "#ffffff",
|
|
1673
|
+
"text-halo-width": 1
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"id": "poi_z16",
|
|
1678
|
+
"type": "symbol",
|
|
1679
|
+
"metadata": {},
|
|
1680
|
+
"source": "openmaptiles",
|
|
1681
|
+
"source-layer": "poi",
|
|
1682
|
+
"minzoom": 16,
|
|
1683
|
+
"filter": [
|
|
1684
|
+
"all",
|
|
1685
|
+
["==", "$type", "Point"],
|
|
1686
|
+
[">=", "rank", 20],
|
|
1687
|
+
[
|
|
1688
|
+
"none",
|
|
1689
|
+
[
|
|
1690
|
+
"all",
|
|
1691
|
+
["in", "class", "pitch"],
|
|
1692
|
+
[
|
|
1693
|
+
"in",
|
|
1694
|
+
"subclass",
|
|
1695
|
+
"soccer",
|
|
1696
|
+
"tennis",
|
|
1697
|
+
"baseball",
|
|
1698
|
+
"basketball",
|
|
1699
|
+
"swimming",
|
|
1700
|
+
"golf"
|
|
1701
|
+
]
|
|
1702
|
+
]
|
|
1703
|
+
],
|
|
1704
|
+
["any", ["!has", "level"], ["==", "level", 0]]
|
|
1705
|
+
],
|
|
1706
|
+
"layout": {
|
|
1707
|
+
"text-anchor": "top",
|
|
1708
|
+
"text-field": "{name_en}",
|
|
1709
|
+
"text-font": ["Open Sans Italic"],
|
|
1710
|
+
"text-max-width": 9,
|
|
1711
|
+
"text-offset": [0, 0.6],
|
|
1712
|
+
"text-padding": 2,
|
|
1713
|
+
"text-size": 12,
|
|
1714
|
+
"visibility": "none"
|
|
1715
|
+
},
|
|
1716
|
+
"paint": {
|
|
1717
|
+
"text-color": "rgb(216, 220, 223)",
|
|
1718
|
+
"text-halo-blur": 0.5,
|
|
1719
|
+
"text-halo-color": "rgb(255, 255, 255)",
|
|
1720
|
+
"text-halo-width": 1
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"id": "poi_z15",
|
|
1725
|
+
"type": "symbol",
|
|
1726
|
+
"metadata": {},
|
|
1727
|
+
"source": "openmaptiles",
|
|
1728
|
+
"source-layer": "poi",
|
|
1729
|
+
"minzoom": 15,
|
|
1730
|
+
"filter": [
|
|
1731
|
+
"all",
|
|
1732
|
+
["==", "$type", "Point"],
|
|
1733
|
+
[">=", "rank", 7],
|
|
1734
|
+
["<", "rank", 20],
|
|
1735
|
+
["any", ["!has", "level"], ["==", "level", 0]]
|
|
1736
|
+
],
|
|
1737
|
+
"layout": {
|
|
1738
|
+
"text-anchor": "top",
|
|
1739
|
+
"text-field": "{name_en}",
|
|
1740
|
+
"text-font": ["Open Sans Italic"],
|
|
1741
|
+
"text-max-width": 9,
|
|
1742
|
+
"text-offset": [0, 0.6],
|
|
1743
|
+
"text-padding": 2,
|
|
1744
|
+
"text-size": 12,
|
|
1745
|
+
"visibility": "none"
|
|
1746
|
+
},
|
|
1747
|
+
"paint": {
|
|
1748
|
+
"text-color": "rgb(216, 220, 223)",
|
|
1749
|
+
"text-halo-blur": 0.5,
|
|
1750
|
+
"text-halo-color": "rgb(255, 255, 255)",
|
|
1751
|
+
"text-halo-width": 1
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"id": "poi_z14",
|
|
1756
|
+
"type": "symbol",
|
|
1757
|
+
"metadata": {},
|
|
1758
|
+
"source": "openmaptiles",
|
|
1759
|
+
"source-layer": "poi",
|
|
1760
|
+
"minzoom": 14.2,
|
|
1761
|
+
"filter": [
|
|
1762
|
+
"all",
|
|
1763
|
+
["==", "$type", "Point"],
|
|
1764
|
+
["any", ["<", "rank", 7]],
|
|
1765
|
+
["any", ["!has", "level"], ["==", "level", 0]]
|
|
1766
|
+
],
|
|
1767
|
+
"layout": {
|
|
1768
|
+
"icon-size": 0.9,
|
|
1769
|
+
"text-anchor": "top",
|
|
1770
|
+
"text-field": "{name_en}",
|
|
1771
|
+
"text-font": ["Open Sans Italic"],
|
|
1772
|
+
"text-max-width": 9,
|
|
1773
|
+
"text-offset": [0, 0.6],
|
|
1774
|
+
"text-padding": 2,
|
|
1775
|
+
"text-size": 12,
|
|
1776
|
+
"visibility": "none"
|
|
1777
|
+
},
|
|
1778
|
+
"paint": {
|
|
1779
|
+
"text-color": "rgb(216, 220, 223)",
|
|
1780
|
+
"text-halo-blur": 0.5,
|
|
1781
|
+
"text-halo-color": "rgb(255, 255, 255)",
|
|
1782
|
+
"text-halo-width": 1
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"id": "poi_transit",
|
|
1787
|
+
"type": "symbol",
|
|
1788
|
+
"metadata": {},
|
|
1789
|
+
"source": "openmaptiles",
|
|
1790
|
+
"source-layer": "poi",
|
|
1791
|
+
"minzoom": 15,
|
|
1792
|
+
"filter": [
|
|
1793
|
+
"all",
|
|
1794
|
+
["in", "class", "bus", "railway", "airport"],
|
|
1795
|
+
["==", "subclass", "station"]
|
|
1796
|
+
],
|
|
1797
|
+
"layout": {
|
|
1798
|
+
"icon-size": 0.9,
|
|
1799
|
+
"text-anchor": "left",
|
|
1800
|
+
"text-field": "{name_en}",
|
|
1801
|
+
"text-font": ["Open Sans Italic"],
|
|
1802
|
+
"text-max-width": 9,
|
|
1803
|
+
"text-offset": [0.9, 0],
|
|
1804
|
+
"text-padding": 2,
|
|
1805
|
+
"text-size": 12,
|
|
1806
|
+
"visibility": "visible"
|
|
1807
|
+
},
|
|
1808
|
+
"paint": {
|
|
1809
|
+
"text-color": "rgb(216, 220, 223)",
|
|
1810
|
+
"text-halo-blur": 0.5,
|
|
1811
|
+
"text-halo-color": "rgb(255, 255, 255)",
|
|
1812
|
+
"text-halo-width": 1
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"id": "road_oneway",
|
|
1817
|
+
"type": "symbol",
|
|
1818
|
+
"source": "openmaptiles",
|
|
1819
|
+
"source-layer": "transportation",
|
|
1820
|
+
"minzoom": 15,
|
|
1821
|
+
"filter": [
|
|
1822
|
+
"all",
|
|
1823
|
+
["==", "oneway", 1],
|
|
1824
|
+
[
|
|
1825
|
+
"in",
|
|
1826
|
+
"class",
|
|
1827
|
+
"motorway",
|
|
1828
|
+
"trunk",
|
|
1829
|
+
"primary",
|
|
1830
|
+
"secondary",
|
|
1831
|
+
"tertiary",
|
|
1832
|
+
"minor",
|
|
1833
|
+
"service"
|
|
1834
|
+
]
|
|
1835
|
+
],
|
|
1836
|
+
"layout": {
|
|
1837
|
+
"icon-padding": 2,
|
|
1838
|
+
"icon-rotate": 90,
|
|
1839
|
+
"icon-rotation-alignment": "map",
|
|
1840
|
+
"icon-size": {"stops": [[15, 0.5], [19, 1]]},
|
|
1841
|
+
"symbol-placement": "line",
|
|
1842
|
+
"symbol-spacing": 75
|
|
1843
|
+
},
|
|
1844
|
+
"paint": {"icon-opacity": 0.5}
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"id": "road_oneway_opposite",
|
|
1848
|
+
"type": "symbol",
|
|
1849
|
+
"source": "openmaptiles",
|
|
1850
|
+
"source-layer": "transportation",
|
|
1851
|
+
"minzoom": 15,
|
|
1852
|
+
"filter": [
|
|
1853
|
+
"all",
|
|
1854
|
+
["==", "oneway", -1],
|
|
1855
|
+
[
|
|
1856
|
+
"in",
|
|
1857
|
+
"class",
|
|
1858
|
+
"motorway",
|
|
1859
|
+
"trunk",
|
|
1860
|
+
"primary",
|
|
1861
|
+
"secondary",
|
|
1862
|
+
"tertiary",
|
|
1863
|
+
"minor",
|
|
1864
|
+
"service"
|
|
1865
|
+
]
|
|
1866
|
+
],
|
|
1867
|
+
"layout": {
|
|
1868
|
+
"icon-padding": 2,
|
|
1869
|
+
"icon-rotate": -90,
|
|
1870
|
+
"icon-rotation-alignment": "map",
|
|
1871
|
+
"icon-size": {"stops": [[15, 0.5], [19, 1]]},
|
|
1872
|
+
"symbol-placement": "line",
|
|
1873
|
+
"symbol-spacing": 75
|
|
1874
|
+
},
|
|
1875
|
+
"paint": {"icon-opacity": 0.5}
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"id": "road_label",
|
|
1879
|
+
"type": "symbol",
|
|
1880
|
+
"metadata": {},
|
|
1881
|
+
"source": "openmaptiles",
|
|
1882
|
+
"source-layer": "transportation_name",
|
|
1883
|
+
"filter": ["all"],
|
|
1884
|
+
"layout": {
|
|
1885
|
+
"symbol-placement": "line",
|
|
1886
|
+
"text-anchor": "center",
|
|
1887
|
+
"text-field": "{name_en} ",
|
|
1888
|
+
"text-font": ["Open Sans Regular"],
|
|
1889
|
+
"text-offset": [0, 0.15],
|
|
1890
|
+
"text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}
|
|
1891
|
+
},
|
|
1892
|
+
"paint": {
|
|
1893
|
+
"text-color": "rgba(161, 169, 176, 1)",
|
|
1894
|
+
"text-halo-blur": 0.5,
|
|
1895
|
+
"text-halo-width": 1
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"id": "highway-shield",
|
|
1900
|
+
"type": "symbol",
|
|
1901
|
+
"source": "openmaptiles",
|
|
1902
|
+
"source-layer": "transportation_name",
|
|
1903
|
+
"minzoom": 8,
|
|
1904
|
+
"filter": [
|
|
1905
|
+
"all",
|
|
1906
|
+
["<=", "ref_length", 6],
|
|
1907
|
+
["==", "$type", "LineString"],
|
|
1908
|
+
["!in", "network", "us-interstate", "us-highway", "us-state"]
|
|
1909
|
+
],
|
|
1910
|
+
"layout": {
|
|
1911
|
+
"icon-rotation-alignment": "viewport",
|
|
1912
|
+
"icon-size": 1,
|
|
1913
|
+
"symbol-avoid-edges": true,
|
|
1914
|
+
"symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
|
|
1915
|
+
"symbol-spacing": 200,
|
|
1916
|
+
"text-field": "{ref}",
|
|
1917
|
+
"text-font": ["Open Sans Regular"],
|
|
1918
|
+
"text-rotation-alignment": "viewport",
|
|
1919
|
+
"text-size": 10,
|
|
1920
|
+
"visibility": "none"
|
|
1921
|
+
},
|
|
1922
|
+
"paint": {
|
|
1923
|
+
"icon-color": "rgba(161, 169, 176, 1)",
|
|
1924
|
+
"text-color": "rgba(161, 169, 176, 1)"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"id": "highway-shield-us-interstate",
|
|
1929
|
+
"type": "symbol",
|
|
1930
|
+
"source": "openmaptiles",
|
|
1931
|
+
"source-layer": "transportation_name",
|
|
1932
|
+
"minzoom": 7,
|
|
1933
|
+
"filter": [
|
|
1934
|
+
"all",
|
|
1935
|
+
["<=", "ref_length", 6],
|
|
1936
|
+
["==", "$type", "LineString"],
|
|
1937
|
+
["in", "network", "us-interstate"]
|
|
1938
|
+
],
|
|
1939
|
+
"layout": {
|
|
1940
|
+
"icon-rotation-alignment": "viewport",
|
|
1941
|
+
"icon-size": 1,
|
|
1942
|
+
"symbol-avoid-edges": true,
|
|
1943
|
+
"symbol-placement": {
|
|
1944
|
+
"base": 1,
|
|
1945
|
+
"stops": [[7, "point"], [7, "line"], [8, "line"]]
|
|
1946
|
+
},
|
|
1947
|
+
"symbol-spacing": 200,
|
|
1948
|
+
"text-field": "{ref}",
|
|
1949
|
+
"text-font": ["Open Sans Regular"],
|
|
1950
|
+
"text-rotation-alignment": "viewport",
|
|
1951
|
+
"text-size": 9,
|
|
1952
|
+
"visibility": "none"
|
|
1953
|
+
},
|
|
1954
|
+
"paint": {"text-color": "rgb(255, 255, 255)"}
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"id": "highway-shield-us-other",
|
|
1958
|
+
"type": "symbol",
|
|
1959
|
+
"source": "openmaptiles",
|
|
1960
|
+
"source-layer": "transportation_name",
|
|
1961
|
+
"minzoom": 9,
|
|
1962
|
+
"filter": [
|
|
1963
|
+
"all",
|
|
1964
|
+
["<=", "ref_length", 6],
|
|
1965
|
+
["==", "$type", "LineString"],
|
|
1966
|
+
["in", "network", "us-highway", "us-state"]
|
|
1967
|
+
],
|
|
1968
|
+
"layout": {
|
|
1969
|
+
"icon-rotation-alignment": "viewport",
|
|
1970
|
+
"icon-size": 1,
|
|
1971
|
+
"symbol-avoid-edges": true,
|
|
1972
|
+
"symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
|
|
1973
|
+
"symbol-spacing": 200,
|
|
1974
|
+
"text-field": "{ref}",
|
|
1975
|
+
"text-font": ["Open Sans Regular"],
|
|
1976
|
+
"text-rotation-alignment": "viewport",
|
|
1977
|
+
"text-size": 9,
|
|
1978
|
+
"visibility": "none"
|
|
1979
|
+
},
|
|
1980
|
+
"paint": {"text-color": "rgb(57, 57, 57)"}
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"id": "place_other",
|
|
1984
|
+
"type": "symbol",
|
|
1985
|
+
"metadata": {},
|
|
1986
|
+
"source": "openmaptiles",
|
|
1987
|
+
"source-layer": "place",
|
|
1988
|
+
"filter": [
|
|
1989
|
+
"all",
|
|
1990
|
+
["in", "class", "hamlet", "island", "islet", "neighbourhood", "suburb"]
|
|
1991
|
+
],
|
|
1992
|
+
"layout": {
|
|
1993
|
+
"text-field": "{name_en}",
|
|
1994
|
+
"text-font": ["Open Sans Italic"],
|
|
1995
|
+
"text-letter-spacing": 0.1,
|
|
1996
|
+
"text-max-width": 9,
|
|
1997
|
+
"text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]},
|
|
1998
|
+
"text-transform": "uppercase",
|
|
1999
|
+
"visibility": "visible"
|
|
2000
|
+
},
|
|
2001
|
+
"paint": {
|
|
2002
|
+
"text-color": "rgb(173, 182, 190)",
|
|
2003
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2004
|
+
"text-halo-width": 1.2
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"id": "place_village",
|
|
2009
|
+
"type": "symbol",
|
|
2010
|
+
"metadata": {},
|
|
2011
|
+
"source": "openmaptiles",
|
|
2012
|
+
"source-layer": "place",
|
|
2013
|
+
"filter": ["all", ["==", "class", "village"]],
|
|
2014
|
+
"layout": {
|
|
2015
|
+
"text-field": "{name_en}",
|
|
2016
|
+
"text-font": ["Open Sans Regular"],
|
|
2017
|
+
"text-max-width": 8,
|
|
2018
|
+
"text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]},
|
|
2019
|
+
"visibility": "none"
|
|
2020
|
+
},
|
|
2021
|
+
"paint": {
|
|
2022
|
+
"text-color": "rgb(161, 169, 176)",
|
|
2023
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2024
|
+
"text-halo-width": 1.2
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"id": "place_town",
|
|
2029
|
+
"type": "symbol",
|
|
2030
|
+
"metadata": {},
|
|
2031
|
+
"source": "openmaptiles",
|
|
2032
|
+
"source-layer": "place",
|
|
2033
|
+
"filter": ["all", ["==", "class", "town"]],
|
|
2034
|
+
"layout": {
|
|
2035
|
+
"text-anchor": "bottom",
|
|
2036
|
+
"text-field": "{name_en}",
|
|
2037
|
+
"text-font": ["Open Sans Regular"],
|
|
2038
|
+
"text-max-width": 8,
|
|
2039
|
+
"text-offset": [0, 0],
|
|
2040
|
+
"text-size": {"base": 1.2, "stops": [[7, 12], [11, 16]]}
|
|
2041
|
+
},
|
|
2042
|
+
"paint": {
|
|
2043
|
+
"text-color": "rgba(161, 169, 176, 0.8)",
|
|
2044
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2045
|
+
"text-halo-width": 1.2
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"id": "place_city",
|
|
2050
|
+
"type": "symbol",
|
|
2051
|
+
"metadata": {},
|
|
2052
|
+
"source": "openmaptiles",
|
|
2053
|
+
"source-layer": "place",
|
|
2054
|
+
"minzoom": 5,
|
|
2055
|
+
"filter": ["all", ["==", "class", "city"]],
|
|
2056
|
+
"layout": {
|
|
2057
|
+
"icon-allow-overlap": true,
|
|
2058
|
+
"icon-optional": false,
|
|
2059
|
+
"text-anchor": "bottom",
|
|
2060
|
+
"text-field": "{name_en}",
|
|
2061
|
+
"text-font": ["Open Sans Semibold"],
|
|
2062
|
+
"text-max-width": 8,
|
|
2063
|
+
"text-offset": [0, 0],
|
|
2064
|
+
"text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]}
|
|
2065
|
+
},
|
|
2066
|
+
"paint": {
|
|
2067
|
+
"text-color": "rgba(161, 169, 176, 0.8)",
|
|
2068
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2069
|
+
"text-halo-width": 1.2
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"id": "country_other",
|
|
2074
|
+
"type": "symbol",
|
|
2075
|
+
"metadata": {},
|
|
2076
|
+
"source": "openmaptiles",
|
|
2077
|
+
"source-layer": "place",
|
|
2078
|
+
"filter": ["all", ["==", "class", "country"], ["!has", "iso_a2"]],
|
|
2079
|
+
"layout": {
|
|
2080
|
+
"text-field": "{name_en}",
|
|
2081
|
+
"text-font": ["Open Sans Italic"],
|
|
2082
|
+
"text-max-width": 6.25,
|
|
2083
|
+
"text-size": {"stops": [[3, 9], [7, 15]]},
|
|
2084
|
+
"text-transform": "none"
|
|
2085
|
+
},
|
|
2086
|
+
"paint": {
|
|
2087
|
+
"text-color": "rgba(159, 178, 195, 0.55)",
|
|
2088
|
+
"text-halo-blur": 1,
|
|
2089
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2090
|
+
"text-halo-width": 0.8
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"id": "country_3",
|
|
2095
|
+
"type": "symbol",
|
|
2096
|
+
"metadata": {},
|
|
2097
|
+
"source": "openmaptiles",
|
|
2098
|
+
"source-layer": "place",
|
|
2099
|
+
"minzoom": 2,
|
|
2100
|
+
"filter": ["all", [">=", "rank", 3], ["==", "class", "country"]],
|
|
2101
|
+
"layout": {
|
|
2102
|
+
"text-field": "{name_en}",
|
|
2103
|
+
"text-font": ["Open Sans Italic"],
|
|
2104
|
+
"text-max-width": 6.25,
|
|
2105
|
+
"text-size": {"stops": [[3, 11], [7, 17]]},
|
|
2106
|
+
"text-transform": "none",
|
|
2107
|
+
"visibility": "visible"
|
|
2108
|
+
},
|
|
2109
|
+
"paint": {
|
|
2110
|
+
"text-color": "rgba(159, 178, 195, 0.55)",
|
|
2111
|
+
"text-halo-blur": 1,
|
|
2112
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2113
|
+
"text-halo-width": 0.8
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"id": "country_2",
|
|
2118
|
+
"type": "symbol",
|
|
2119
|
+
"metadata": {},
|
|
2120
|
+
"source": "openmaptiles",
|
|
2121
|
+
"source-layer": "place",
|
|
2122
|
+
"minzoom": 2,
|
|
2123
|
+
"filter": ["all", ["==", "rank", 2], ["==", "class", "country"]],
|
|
2124
|
+
"layout": {
|
|
2125
|
+
"text-field": "{name_en}",
|
|
2126
|
+
"text-font": ["Open Sans Italic"],
|
|
2127
|
+
"text-max-width": 6.25,
|
|
2128
|
+
"text-size": {"stops": [[2, 11], [5, 17]]},
|
|
2129
|
+
"text-transform": "none",
|
|
2130
|
+
"visibility": "visible"
|
|
2131
|
+
},
|
|
2132
|
+
"paint": {
|
|
2133
|
+
"text-color": "rgba(159, 178, 195, 0.55)",
|
|
2134
|
+
"text-halo-blur": 1,
|
|
2135
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2136
|
+
"text-halo-width": 0.8
|
|
2137
|
+
}
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"id": "country_1",
|
|
2141
|
+
"type": "symbol",
|
|
2142
|
+
"metadata": {},
|
|
2143
|
+
"source": "openmaptiles",
|
|
2144
|
+
"source-layer": "place",
|
|
2145
|
+
"minzoom": 2,
|
|
2146
|
+
"filter": ["all", ["==", "rank", 1], ["==", "class", "country"]],
|
|
2147
|
+
"layout": {
|
|
2148
|
+
"text-field": "{name_en}",
|
|
2149
|
+
"text-font": ["Open Sans Italic"],
|
|
2150
|
+
"text-max-width": 6.25,
|
|
2151
|
+
"text-size": {"stops": [[1, 11], [4, 17]]},
|
|
2152
|
+
"text-transform": "none",
|
|
2153
|
+
"visibility": "visible"
|
|
2154
|
+
},
|
|
2155
|
+
"paint": {
|
|
2156
|
+
"text-color": "rgba(159, 178, 195, 0.55)",
|
|
2157
|
+
"text-halo-blur": 1,
|
|
2158
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2159
|
+
"text-halo-width": 0.8
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"id": "continent",
|
|
2164
|
+
"type": "symbol",
|
|
2165
|
+
"metadata": {},
|
|
2166
|
+
"source": "openmaptiles",
|
|
2167
|
+
"source-layer": "place",
|
|
2168
|
+
"maxzoom": 1,
|
|
2169
|
+
"filter": ["all", ["==", "class", "continent"]],
|
|
2170
|
+
"layout": {
|
|
2171
|
+
"text-field": "{name_en}",
|
|
2172
|
+
"text-font": ["Open Sans Italic"],
|
|
2173
|
+
"text-justify": "center",
|
|
2174
|
+
"text-size": 13,
|
|
2175
|
+
"text-transform": "uppercase"
|
|
2176
|
+
},
|
|
2177
|
+
"paint": {
|
|
2178
|
+
"text-color": "rgb(168, 196, 220)",
|
|
2179
|
+
"text-halo-color": "rgba(255, 255, 255, 0.6)",
|
|
2180
|
+
"text-halo-width": 1
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
],
|
|
2184
|
+
"version": 8
|
|
2185
|
+
}
|