diff --git a/styles/camo.json b/styles/camo.json index a7df6bf1..d11b7916 100644 --- a/styles/camo.json +++ b/styles/camo.json @@ -1,1480 +1,1981 @@ -{ - "version": 8, - "name": "camo", - "metadata": { - "mapbox:autocomposite": false, - "mapbox:type": "template", - "openmaptiles:version": "3.x", - "maputnik:renderer": "mbgljs", - "inspect": true - }, - "center": [ - 7.1434, - 50.7338 - ], - "zoom": 14.11, - "bearing": 0, - "pitch": 0, - "sources": { - "osm": { - "type": "vector", - "url": "https://osm.tegola.io/capabilities/osm.json" - } - }, - "sprite": "https://go-spatial.github.io/carto-assets/spritesets/osm_tegola_spritesheet", - "glyphs": "https://go-spatial.github.io/carto-assets/fonts/{fontstack}/{range}.pbf", - "layers": [ - { - "id": "background", - "type": "background", - "maxzoom": 24, - "filter": [ - "all" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "background-color": "rgba(69, 86, 71, .9)" - } - }, - { - "id": "land", - "type": "fill", - "source": "osm", - "source-layer": "land", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(98, 117, 98, 1)" - } - }, - { - "id": "pier", - "type": "fill", - "source": "osm", - "source-layer": "other_areas", - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(98, 117, 98, 1)" - } - }, - { - "id": "landuse_areas_z13", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 13, - "maxzoom": 24, - "paint": { - "fill-color": { - "property": "type", - "type": "categorical", - "default": "transparent", - "stops": [ - [ - "farmland", - "rgba(189, 130, 88, 0.13)" - ], - [ - "farm", - "rgba(189, 130, 88, 0.13)" - ], - [ - "orchard", - "rgba(189, 130, 88, 0.13)" - ], - [ - "allotments", - "rgba(189, 130, 88, 0.13)" - ], - [ - "residential", - "rgba(153, 195, 150, 0.2)" - ], - [ - "college", - "rgba(120, 39, 31, 0.16)" - ], - [ - "school", - "rgba(120, 39, 31, 0.16)" - ], - [ - "education", - "rgba(120, 39, 31, 0.16)" - ], - [ - "university", - "rgba(120, 39, 31, 0.16)" - ], - [ - "park", - "rgba(62, 195, 6, 0.15)" - ], - [ - "sports_centre", - "rgba(62, 195, 6, 0.15)" - ], - [ - "stadium", - "rgba(62, 195, 6, 0.15)" - ], - [ - "grass", - "rgba(62, 195, 6, 0.15)" - ], - [ - "grassland", - "rgba(62, 195, 6, 0.15)" - ], - [ - "garden", - "rgba(62, 195, 6, 0.15)" - ], - [ - "village_green", - "rgba(62, 195, 6, 0.15)" - ], - [ - "recreation_ground", - "rgba(62, 195, 6, 0.15)" - ], - [ - "picnic_site", - "rgba(62, 195, 6, 0.15)" - ], - [ - "camp_site", - "rgba(62, 195, 6, 0.15)" - ], - [ - "playground", - "rgba(62, 195, 6, 0.15)" - ], - [ - "forest", - "rgba(100, 179, 100, 0.09)" - ], - [ - "wood", - "rgba(100, 179, 100, 0.09)" - ], - [ - "nature_reserve", - "rgba(100, 179, 100, 0.09)" - ] - ] - } - } - }, - { - "id": "landuse_areas_z10", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 10, - "maxzoom": 13, - "paint": { - "fill-color": { - "property": "type", - "type": "categorical", - "default": "transparent", - "stops": [ - [ - "park", - "rgba(62, 195, 6, 0.15)" - ], - [ - "forest", - "rgba(100, 179, 100, 0.09)" - ], - [ - "wood", - "rgba(100, 179, 100, 0.09)" - ], - [ - "nature_reserve", - "rgba(100, 179, 100, 0.09)" - ] - ] - } - } - }, - { - "id": "landuse_areas_z7", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 7, - "maxzoom": 10, - "filter": [ - "all", - [ - "in", - "type", - "forest", - "wood", - "nature_reserve" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(100, 179, 100, 0.09)" - } - }, - { - "id": "landuse_areas_z5", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 5, - "maxzoom": 7, - "filter": [ - "all", - [ - "in", - "type", - "forest", - "wood" - ], - [ - ">", - "area", - 50000000 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(100, 179, 100, 0.09)" - } - }, - { - "id": "landuse_areas_z3", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 3, - "maxzoom": 5, - "filter": [ - "all", - [ - "in", - "type", - "forest", - "wood" - ], - [ - ">", - "area", - 500000000 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(100, 179, 100, 0.09)" - } - }, - { - "id": "landuse_areas_military_overlay", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 8, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "military" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(178, 194, 157, 1)", - "fill-pattern": "military-fill3" - } - }, - { - "id": "water_lines", - "type": "line", - "source": "osm", - "source-layer": "water_lines", - "minzoom": 8, - "maxzoom": 20, - "layout": {}, - "paint": { - "line-color": "rgba(69, 86, 71, .5)" - } - }, - { - "id": "water_areas", - "type": "fill", - "source": "osm", - "source-layer": "water_areas", - "minzoom": 3, - "maxzoom": 20, - "paint": { - "fill-color": "rgba(69, 86, 71, .5)", - "fill-pattern": "waves", - "fill-opacity": 1 - } - }, - { - "id": "pier_line", - "type": "line", - "source": "osm", - "source-layer": "other_lines", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(98, 117, 98, 1)", - "line-width": { - "stops": [ - [ - 12, - 2 - ], - [ - 18, - 7 - ] - ] - } - } - }, - { - "id": "state_lines_z10", - "type": "line", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 4 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(178, 171, 171, 0.5)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "state_lines_z2", - "type": "line", - "source": "osm", - "source-layer": "state_lines", - "minzoom": 2, - "maxzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(178, 171, 171, 0.5)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "roads_track", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "track" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-dasharray": [ - 2, - 5 - ], - "line-width": 2 - } - }, - { - "id": "roads_footway", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "in", - "type", - "footway", - "cycleway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": 1, - "line-dasharray": [ - 1, - 2 - ] - } - }, - { - "id": "roads_pier", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": 4 - } - }, - { - "id": "roads_railyard", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "any", - [ - "in", - "type", - "rail", - "disused" - ], - [ - "in", - "service", - "yard", - "siding" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 15, - 0.35 - ], - [ - 20, - 2.25 - ] - ] - } - } - }, - { - "id": "roads_rail", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "rail" - ], - [ - "!in", - "service", - "yard", - "siding" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 14, - 1.25 - ], - [ - 20, - 2.25 - ] - ] - } - } - }, - { - "id": "roads_tertiary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "filter": [ - "all", - [ - "in", - "type", - "tertiary", - "unclassified", - "residential", - "living_street" - ], - [ - "!=", - "tunnel", - 1 - ] - ], - "paint": { - "line-color": "rgba(118, 125, 118, 1)", - "line-width": { - "stops": [ - [ - 14, - 1 - ], - [ - 18, - 5 - ] - ] - } - } - }, - { - "id": "roads_secondary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "secondary" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 12, - 2 - ], - [ - 14, - 4 - ], - [ - 18, - 14 - ] - ] - } - } - }, - { - "id": "roads_primary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 11, - "filter": [ - "all", - [ - "==", - "type", - "primary" - ] - ], - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 11, - 2 - ], - [ - 14, - 5 - ], - [ - 18, - 20 - ] - ] - } - } - }, - { - "id": "roads_motorway_z14", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "filter": [ - "all", - [ - "in", - "type", - "motorway", - "motorway_link", - "trunk", - "trunk_link" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 14, - 4 - ], - [ - 18, - 20 - ] - ] - } - } - }, - { - "id": "roads_motorway_z11", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 11, - "maxzoom": 14, - "filter": [ - "all", - [ - "in", - "type", - "motorway", - "trunk" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 11, - 2 - ], - [ - 14, - 3 - ] - ] - } - } - }, - { - "id": "roads_motorway_z7", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 7, - "maxzoom": 11, - "filter": [ - "all", - [ - "in", - "type", - "motorway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(150, 154, 142, 1)", - "line-width": { - "stops": [ - [ - 7, - 0.6 - ], - [ - 8, - 1.2 - ], - [ - 9, - 1.5 - ], - [ - 11, - 2 - ] - ] - } - } - }, - { - "id": "roads_links_z9", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 9, - "maxzoom": 11, - "filter": [ - "all", - [ - "in", - "type", - "trunk", - "primary" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 9, - 1 - ], - [ - 11, - 1.5 - ] - ] - } - } - }, - { - "id": "roads_trunk_z7", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 7, - "maxzoom": 9, - "filter": [ - "all", - [ - "in", - "type", - "trunk", - "primary" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 7, - 0.3 - ], - [ - 8, - 1 - ] - ] - } - } - }, - { - "id": "roads_motorway_z4", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 4, - "maxzoom": 8, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(119, 135, 119, 1)", - "line-width": { - "stops": [ - [ - 4, - 0.5 - ], - [ - 7, - 1 - ] - ] - } - } - }, - { - "id": "roads_labels_minor", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "!in", - "type", - "motorway", - "subway", - "primary" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 14, - 8 - ], - [ - 15, - 10 - ], - [ - 18, - 11 - ] - ] - }, - "icon-allow-overlap": true, - "icon-optional": false, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false - }, - "paint": { - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-color": "rgba(45, 41, 32, 1)" - } - }, - { - "id": "roads_labels_primary", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 11, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "primary" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 11, - 8 - ], - [ - 13, - 13 - ], - [ - 15, - 14 - ] - ] - }, - "icon-allow-overlap": true, - "icon-optional": false, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false - }, - "paint": { - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-color": "rgba(45, 41, 32, 1)" - } - }, - { - "id": "admin_countrylines_z10", - "type": "line", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 2 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(106, 95, 78, 1)", - "line-width": { - "stops": [ - [ 0, - 1 - ], - [ - 7, - 1.5 - ] - ] - } - } - }, - { - "id": "admin_countrylines_z0", - "type": "line", - "source": "osm", - "source-layer": "country_lines", - "minzoom": 0, - "maxzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(106, 95, 78, 1)", - "line-width": { - "stops": [ - [ 0, - 1 - ], - [ - 7, - 1.5 - ] - ] - } - } - }, - { - "id": "admin_countrylinesdisputed", - "type": "line", - "source": "osm", - "source-layer": "country_lines_disputed", - "minzoom": 0, - "maxzoom": 20, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(106, 95, 78, 1)", - "line-width": { - "stops": [ - [ 0, - 1 - ], - [ - 7, - 1.5 - ] - ] - }, - "line-dasharray": [ - 4, - 1 - ] - } - }, - { - "id": "buildings_2d", - "type": "fill", - "source": "osm", - "source-layer": "buildings", - "minzoom": 0, - "filter": [ - "all" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(58, 58, 33, 0.3)", - "fill-outline-color": "rgba(105, 105, 80, 0.51)", - "fill-opacity": 1 - } - }, - { - "id": "city_labels_z14", - "type": "symbol", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 14, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 8 - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.5 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "city_labels_z12", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 12, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "featurecla", - "Populated place" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.5 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "city_labels_z6", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 6, - "maxzoom": 12, - "filter": [ - "all", - [ - "==", - "featurecla", - "Populated place" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "state_labels", - "type": "symbol", - "source": "osm", - "source-layer": "state_label_points", - "minzoom": 4, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "scalerank", - 2 - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold Italic" - ], - "text-size": { - "stops": [ - [ - 4, - 8 - ], - [ - 10, - 16 - ] - ] - } - }, - "paint": { - "text-color": "rgba(119, 135, 119, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "statecapital_labels_z10", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-1 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 10, - "text-transform": "uppercase" - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "statecapital_labels_z4", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 4, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-1 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 4, - 7 - ], - [ - 10, - 10 - ] - ] - } - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "capital_labels_z10", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-0 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 11, - "text-transform": "uppercase" - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "capital_labels_z3", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 3, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-0 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 3, - 9 - ], - [ - 10, - 11 - ] - ] - } - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "country_labels", - "type": "symbol", - "source": "osm", - "source-layer": "country_label_points", - "minzoom": 3, - "maxzoom": 7, - "filter": [ - "all", - [ - "==", - "scalerank", - 0 - ] - ], - "layout": { - "text-field": "{sr_subunit}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 3, - 11 - ], - [ - 7, - 13 - ] - ] - } - }, - "paint": { - "text-color": "rgba(106, 95, 78, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 5 - } - }, - { - "id": "roads_14_shields", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "motorway" - ], - [ - "!=", - "ref", - "" - ] - ], - "layout": { - "text-field": "{ref}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 14, - 11 - ], - [ - 15, - 14 - ] - ] - }, - "icon-allow-overlap": false, - "icon-optional": false, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false, - "icon-image": "camoshield6", - "icon-rotation-alignment": "viewport", - "text-rotation-alignment": "viewport", - "text-pitch-alignment": "viewport", - "symbol-spacing": 500, - "icon-text-fit": "width", - "icon-text-fit-padding": [ - 0, - 10, - 0, - 10 - ], - "icon-size": 1 - }, - "paint": { - "text-color": "rgba(51, 51, 51, 1)" - } - } - ], - "created": "2017-01-04T21:12:33.904Z", - "id": "f0usgx9v5", - "owner": "" +{ + "pitch": 0, + "layers": [ + { + "id": "background", + "type": "background", + "maxzoom": 24, + "filter": [ + "all" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "background-color": "rgba(69, 86, 71, .9)" + } + }, + { + "id": "land", + "type": "fill", + "source": "osm", + "source-layer": "land", + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(98, 117, 98, 1)" + } + }, + { + "id": "pier", + "type": "fill", + "source": "osm", + "source-layer": "other_areas", + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(98, 117, 98, 1)" + } + }, + { + "id": "landuse_areas_z13", + "type": "fill", + "source": "osm", + "source-layer": "landuse_areas", + "minzoom": 13, + "maxzoom": 24, + "paint": { + "fill-color": { + "property": "type", + "type": "categorical", + "default": "transparent", + "stops": [ + [ + "farmland", + "rgba(189, 130, 88, 0.13)" + ], + [ + "farm", + "rgba(189, 130, 88, 0.13)" + ], + [ + "orchard", + "rgba(189, 130, 88, 0.13)" + ], + [ + "allotments", + "rgba(189, 130, 88, 0.13)" + ], + [ + "residential", + "rgba(153, 195, 150, 0.2)" + ], + [ + "college", + "rgba(120, 39, 31, 0.16)" + ], + [ + "school", + "rgba(120, 39, 31, 0.16)" + ], + [ + "education", + "rgba(120, 39, 31, 0.16)" + ], + [ + "university", + "rgba(120, 39, 31, 0.16)" + ], + [ + "park", + "rgba(62, 195, 6, 0.15)" + ], + [ + "sports_centre", + "rgba(62, 195, 6, 0.15)" + ], + [ + "stadium", + "rgba(62, 195, 6, 0.15)" + ], + [ + "grass", + "rgba(62, 195, 6, 0.15)" + ], + [ + "grassland", + "rgba(62, 195, 6, 0.15)" + ], + [ + "garden", + "rgba(62, 195, 6, 0.15)" + ], + [ + "village_green", + "rgba(62, 195, 6, 0.15)" + ], + [ + "recreation_ground", + "rgba(62, 195, 6, 0.15)" + ], + [ + "picnic_site", + "rgba(62, 195, 6, 0.15)" + ], + [ + "camp_site", + "rgba(62, 195, 6, 0.15)" + ], + [ + "playground", + "rgba(62, 195, 6, 0.15)" + ], + [ + "forest", + "rgba(100, 179, 100, 0.09)" + ], + [ + "wood", + "rgba(100, 179, 100, 0.09)" + ], + [ + "nature_reserve", + "rgba(100, 179, 100, 0.09)" + ] + ] + } + } + }, + { + "id": "landuse_areas_z10", + "type": "fill", + "source": "osm", + "source-layer": "landuse_areas", + "minzoom": 10, + "maxzoom": 13, + "paint": { + "fill-color": { + "property": "type", + "type": "categorical", + "default": "transparent", + "stops": [ + [ + "park", + "rgba(62, 195, 6, 0.15)" + ], + [ + "forest", + "rgba(100, 179, 100, 0.09)" + ], + [ + "wood", + "rgba(100, 179, 100, 0.09)" + ], + [ + "nature_reserve", + "rgba(100, 179, 100, 0.09)" + ] + ] + } + } + }, + { + "minzoom": 7, + "layout": { + "visibility": "visible" + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "in", + "type", + "forest", + "wood", + "nature_reserve" + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_z7", + "paint": { + "fill-color": "rgba(100, 179, 100, 0.09)" + }, + "source-layer": "landuse_areas" + }, + { + "minzoom": 5, + "layout": { + "visibility": "visible" + }, + "maxzoom": 7, + "filter": [ + "all", + [ + "in", + "type", + "forest", + "wood" + ], + [ + ">", + "area", + 50000000 + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_z5", + "paint": { + "fill-color": "rgba(100, 179, 100, 0.09)" + }, + "source-layer": "landuse_areas" + }, + { + "minzoom": 3, + "layout": { + "visibility": "visible" + }, + "maxzoom": 5, + "filter": [ + "all", + [ + "in", + "type", + "forest", + "wood" + ], + [ + ">", + "area", + 500000000 + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_z3", + "paint": { + "fill-color": "rgba(100, 179, 100, 0.09)" + }, + "source-layer": "landuse_areas" + }, + { + "minzoom": 8, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "military" + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_military_overlay", + "paint": { + "fill-color": "rgba(178, 194, 157, 1)", + "fill-pattern": "military-fill3" + }, + "source-layer": "landuse_areas" + }, + { + "id": "water_lines", + "type": "line", + "source": "osm", + "source-layer": "water_lines", + "minzoom": 8, + "maxzoom": 20, + "layout": {}, + "paint": { + "line-color": "rgba(69, 86, 71, .5)" + } + }, + { + "id": "water_areas", + "type": "fill", + "source": "osm", + "source-layer": "water_areas", + "minzoom": 3, + "maxzoom": 20, + "paint": { + "fill-color": "rgba(69, 86, 71, .5)", + "fill-pattern": "waves", + "fill-opacity": 1 + } + }, + { + "id": "pier_line", + "type": "line", + "source": "osm", + "source-layer": "other_lines", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(98, 117, 98, 1)", + "line-width": { + "stops": [ + [ + 12, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "minzoom": 10, + "layout": { + "visibility": "visible" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 4 + ] + ], + "type": "line", + "source": "osm", + "id": "state_lines_z10", + "paint": { + "line-color": "rgba(178, 171, 171, 0.5)", + "line-dasharray": [ + 6, + 3 + ] + }, + "source-layer": "admin_lines" + }, + { + "id": "state_lines_z2", + "type": "line", + "source": "osm", + "source-layer": "state_lines", + "minzoom": 2, + "maxzoom": 10, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(178, 171, 171, 0.5)", + "line-dasharray": [ + 6, + 3 + ] + } + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "track" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_track", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-dasharray": [ + 2, + 5 + ], + "line-width": 2 + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "in", + "type", + "footway", + "cycleway" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_footway", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": 1, + "line-dasharray": [ + 1, + 2 + ] + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_pier", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": 4 + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "any", + [ + "in", + "type", + "rail", + "disused" + ], + [ + "in", + "service", + "yard", + "siding" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_railyard", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 15, + 0.35 + ], + [ + 20, + 2.25 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "rail" + ], + [ + "!in", + "service", + "yard", + "siding" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_rail", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 14, + 1.25 + ], + [ + 20, + 2.25 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "id": "roads_tertiary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 14, + "filter": [ + "all", + [ + "in", + "type", + "tertiary", + "unclassified", + "residential", + "living_street" + ], + [ + "!=", + "tunnel", + 1 + ] + ], + "paint": { + "line-color": "rgba(118, 125, 118, 1)", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 18, + 5 + ] + ] + } + } + }, + { + "id": "roads_secondary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "secondary" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 12, + 2 + ], + [ + 14, + 4 + ], + [ + 18, + 14 + ] + ] + } + } + }, + { + "id": "roads_primary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 11, + "filter": [ + "all", + [ + "==", + "type", + "primary" + ] + ], + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 11, + 2 + ], + [ + 14, + 5 + ], + [ + 18, + 20 + ] + ] + } + } + }, + { + "id": "roads_motorway_z14", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 14, + "filter": [ + "all", + [ + "in", + "type", + "motorway", + "motorway_link", + "trunk", + "trunk_link" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "miter" + }, + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 14, + 4 + ], + [ + 18, + 20 + ] + ] + } + } + }, + { + "minzoom": 11, + "layout": { + "visibility": "visible" + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "in", + "type", + "motorway", + "trunk" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_motorway_z11", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 11, + 2 + ], + [ + 14, + 3 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 7, + "layout": { + "visibility": "visible" + }, + "maxzoom": 11, + "filter": [ + "all", + [ + "in", + "type", + "motorway" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_motorway_z7", + "paint": { + "line-color": "rgba(150, 154, 142, 1)", + "line-width": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 8, + 1.2 + ], + [ + 9, + 1.5 + ], + [ + 11, + 2 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 9, + "layout": { + "visibility": "visible" + }, + "maxzoom": 11, + "filter": [ + "all", + [ + "in", + "type", + "trunk", + "primary" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_links_z9", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 9, + 1 + ], + [ + 11, + 1.5 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 7, + "layout": { + "visibility": "visible" + }, + "maxzoom": 9, + "filter": [ + "all", + [ + "in", + "type", + "trunk", + "primary" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_trunk_z7", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 7, + 0.3 + ], + [ + 8, + 1 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "id": "roads_motorway_z4", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 4, + "maxzoom": 8, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(119, 135, 119, 1)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 7, + 1 + ] + ] + } + } + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 8 + ], + [ + 15, + 10 + ], + [ + 18, + 11 + ] + ] + }, + "text-ignore-placement": false, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": true, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-field": "{name}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "!in", + "type", + "motorway", + "subway", + "primary" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_labels_minor", + "paint": { + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-color": "rgba(45, 41, 32, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 11, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 11, + 8 + ], + [ + 13, + 13 + ], + [ + 15, + 14 + ] + ] + }, + "text-ignore-placement": false, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": true, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-field": "{name}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "primary" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_labels_primary", + "paint": { + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-color": "rgba(45, 41, 32, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 10, + "layout": { + "visibility": "visible" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ] + ], + "type": "line", + "source": "osm", + "id": "admin_countrylines_z10", + "paint": { + "line-color": "rgba(106, 95, 78, 1)", + "line-width": { + "stops": [ + [ + 0, + 1 + ], + [ + 7, + 1.5 + ] + ] + } + }, + "source-layer": "admin_lines" + }, + { + "id": "admin_countrylines_z0", + "type": "line", + "source": "osm", + "source-layer": "country_lines", + "minzoom": 0, + "maxzoom": 10, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(106, 95, 78, 1)", + "line-width": { + "stops": [ + [ + 0, + 1 + ], + [ + 7, + 1.5 + ] + ] + } + } + }, + { + "id": "admin_countrylinesdisputed", + "type": "line", + "source": "osm", + "source-layer": "country_lines_disputed", + "minzoom": 0, + "maxzoom": 20, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(106, 95, 78, 1)", + "line-width": { + "stops": [ + [ + 0, + 1 + ], + [ + 7, + 1.5 + ] + ] + }, + "line-dasharray": [ + 4, + 1 + ] + } + }, + { + "id": "buildings_2d", + "type": "fill", + "source": "osm", + "source-layer": "buildings", + "minzoom": 0, + "filter": [ + "all" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(58, 58, 33, 0.3)", + "fill-outline-color": "rgba(105, 105, 80, 0.51)", + "fill-opacity": 1 + } + }, + { + "minzoom": 14, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.5 + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 8 + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z14", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "admin_lines" + }, + { + "minzoom": 12, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.5 + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "featurecla", + "Populated place" + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z12", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 6, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10 + }, + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "featurecla", + "Populated place" + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z6", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 4, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold Italic" + ], + "text-size": { + "stops": [ + [ + 4, + 8 + ], + [ + 10, + 16 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "scalerank", + 2 + ] + ], + "type": "symbol", + "source": "osm", + "id": "state_labels", + "paint": { + "text-color": "rgba(119, 135, 119, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "state_label_points" + }, + { + "minzoom": 10, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 10, + "text-transform": "uppercase" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-1 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "statecapital_labels_z10", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 4, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 4, + 7 + ], + [ + 10, + 10 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-1 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "statecapital_labels_z4", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 10, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 11, + "text-transform": "uppercase" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-0 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "capital_labels_z10", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 3, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 3, + 9 + ], + [ + 10, + 11 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-0 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "capital_labels_z3", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 3, + "layout": { + "text-field": "{sr_subunit}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 7, + 13 + ] + ] + } + }, + "maxzoom": 7, + "filter": [ + "all", + [ + "==", + "scalerank", + 0 + ] + ], + "type": "symbol", + "source": "osm", + "id": "country_labels", + "paint": { + "text-color": "rgba(106, 95, 78, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 5 + }, + "source-layer": "country_label_points" + }, + { + "minzoom": 8, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shieldslowzoom", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "==", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields_only1", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 100, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields1", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 200, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref2}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields2", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref3}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref3", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields3", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 400, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref4}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref4", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields4", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref5}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref5", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields5", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 600, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref6}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref6", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields6", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 700, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref7}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref7", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields7", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + } + ], + "sprite": "https://go-spatial.github.io/carto-assets/spritesets/osm_tegola_spritesheet", + "glyphs": "https://go-spatial.github.io/carto-assets/fonts/{fontstack}/{range}.pbf", + "created": "2017-01-04T21:12:33.904Z", + "name": "camo", + "bearing": 0, + "metadata": { + "mapbox:autocomposite": false, + "mapbox:type": "template", + "openmaptiles:version": "3.x", + "maputnik:renderer": "mbgljs", + "inspect": true + }, + "owner": "", + "zoom": 14.11, + "center": [ + 7.1434, + 50.7338 + ], + "version": 8, + "sources": { + "osm": { + "type": "vector", + "url": "https://osm.tegola.io/capabilities/osm.json" + } + }, + "id": "0d19f6f5-2c2c-4fd4-bc1e-0299bb02e263" } \ No newline at end of file diff --git a/styles/camo3d.json b/styles/camo3d.json index 6b315805..8aed6f05 100644 --- a/styles/camo3d.json +++ b/styles/camo3d.json @@ -1,1510 +1,2007 @@ -{ - "version": 8, - "name": "camo3d", - "metadata": { - "mapbox:autocomposite": false, - "mapbox:type": "template", - "openmaptiles:version": "3.x", - "maputnik:renderer": "mbgljs", - "inspect": true - }, - "center": [ - 7.1434, - 50.7338 - ], - "zoom": 14.11, - "bearing": 0, - "pitch": 0, - "sources": { - "osm": { - "type": "vector", - "url": "https://osm.tegola.io/capabilities/osm.json" - } - }, - "sprite": "https://go-spatial.github.io/carto-assets/spritesets/osm_tegola_spritesheet", - "glyphs": "https://go-spatial.github.io/carto-assets/fonts/{fontstack}/{range}.pbf", - "layers": [ - { - "id": "background", - "type": "background", - "maxzoom": 24, - "filter": [ - "all" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "background-color": "rgba(69, 86, 71, .9)" - } - }, - { - "id": "land", - "type": "fill", - "source": "osm", - "source-layer": "land", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(98, 117, 98, 1)" - } - }, - { - "id": "pier", - "type": "fill", - "source": "osm", - "source-layer": "other_areas", - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(98, 117, 98, 1)" - } - }, - { - "id": "landuse_areas_z13", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 13, - "maxzoom": 24, - "paint": { - "fill-color": { - "property": "type", - "type": "categorical", - "default": "transparent", - "stops": [ - [ - "farmland", - "rgba(189, 130, 88, 0.13)" - ], - [ - "farm", - "rgba(189, 130, 88, 0.13)" - ], - [ - "orchard", - "rgba(189, 130, 88, 0.13)" - ], - [ - "allotments", - "rgba(189, 130, 88, 0.13)" - ], - [ - "residential", - "rgba(153, 195, 150, 0.2)" - ], - [ - "college", - "rgba(120, 39, 31, 0.16)" - ], - [ - "school", - "rgba(120, 39, 31, 0.16)" - ], - [ - "education", - "rgba(120, 39, 31, 0.16)" - ], - [ - "university", - "rgba(120, 39, 31, 0.16)" - ], - [ - "park", - "rgba(62, 195, 6, 0.15)" - ], - [ - "sports_centre", - "rgba(62, 195, 6, 0.15)" - ], - [ - "stadium", - "rgba(62, 195, 6, 0.15)" - ], - [ - "grass", - "rgba(62, 195, 6, 0.15)" - ], - [ - "grassland", - "rgba(62, 195, 6, 0.15)" - ], - [ - "garden", - "rgba(62, 195, 6, 0.15)" - ], - [ - "village_green", - "rgba(62, 195, 6, 0.15)" - ], - [ - "recreation_ground", - "rgba(62, 195, 6, 0.15)" - ], - [ - "picnic_site", - "rgba(62, 195, 6, 0.15)" - ], - [ - "camp_site", - "rgba(62, 195, 6, 0.15)" - ], - [ - "playground", - "rgba(62, 195, 6, 0.15)" - ], - [ - "forest", - "rgba(100, 179, 100, 0.09)" - ], - [ - "wood", - "rgba(100, 179, 100, 0.09)" - ], - [ - "nature_reserve", - "rgba(100, 179, 100, 0.09)" - ] - ] - } - } - }, - { - "id": "landuse_areas_z10", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 10, - "maxzoom": 13, - "paint": { - "fill-color": { - "property": "type", - "type": "categorical", - "default": "transparent", - "stops": [ - [ - "park", - "rgba(62, 195, 6, 0.15)" - ], - [ - "forest", - "rgba(100, 179, 100, 0.09)" - ], - [ - "wood", - "rgba(100, 179, 100, 0.09)" - ], - [ - "nature_reserve", - "rgba(100, 179, 100, 0.09)" - ] - ] - } - } - }, - { - "id": "landuse_areas_z7", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 7, - "maxzoom": 10, - "filter": [ - "all", - [ - "in", - "type", - "forest", - "wood", - "nature_reserve" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(100, 179, 100, 0.09)" - } - }, - { - "id": "landuse_areas_z5", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 5, - "maxzoom": 7, - "filter": [ - "all", - [ - "in", - "type", - "forest", - "wood" - ], - [ - ">", - "area", - 50000000 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(100, 179, 100, 0.09)" - } - }, - { - "id": "landuse_areas_z3", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 3, - "maxzoom": 5, - "filter": [ - "all", - [ - "in", - "type", - "forest", - "wood" - ], - [ - ">", - "area", - 500000000 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(100, 179, 100, 0.09)" - } - }, - { - "id": "landuse_areas_military_overlay", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 8, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "military" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(178, 194, 157, 1)", - "fill-pattern": "military-fill3" - } - }, - { - "id": "water_lines", - "type": "line", - "source": "osm", - "source-layer": "water_lines", - "minzoom": 8, - "maxzoom": 20, - "layout": {}, - "paint": { - "line-color": "rgba(69, 86, 71, .5)" - } - }, - { - "id": "water_areas", - "type": "fill", - "source": "osm", - "source-layer": "water_areas", - "minzoom": 3, - "maxzoom": 20, - "paint": { - "fill-color": "rgba(69, 86, 71, .5)", - "fill-pattern": "waves", - "fill-opacity": 1 - } - }, - { - "id": "pier_line", - "type": "line", - "source": "osm", - "source-layer": "other_lines", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(98, 117, 98, 1)", - "line-width": { - "stops": [ - [ - 12, - 2 - ], - [ - 18, - 7 - ] - ] - } - } - }, - { - "id": "state_lines_z10", - "type": "line", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 4 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(178, 171, 171, 0.5)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "state_lines_z2", - "type": "line", - "source": "osm", - "source-layer": "state_lines", - "minzoom": 2, - "maxzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(178, 171, 171, 0.5)", - "line-dasharray": [ - 6, - 3 - ] - } - }, - { - "id": "roads_track", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "track" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-dasharray": [ - 2, - 5 - ], - "line-width": 2 - } - }, - { - "id": "roads_footway", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "in", - "type", - "footway", - "cycleway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": 1, - "line-dasharray": [ - 1, - 2 - ] - } - }, - { - "id": "roads_pier", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": 4 - } - }, - { - "id": "roads_railyard", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "any", - [ - "in", - "type", - "rail", - "disused" - ], - [ - "in", - "service", - "yard", - "siding" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 15, - 0.35 - ], - [ - 20, - 2.25 - ] - ] - } - } - }, - { - "id": "roads_rail", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "rail" - ], - [ - "!in", - "service", - "yard", - "siding" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 14, - 1.25 - ], - [ - 20, - 2.25 - ] - ] - } - } - }, - { - "id": "roads_tertiary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "filter": [ - "all", - [ - "in", - "type", - "tertiary", - "unclassified", - "residential", - "living_street" - ], - [ - "!=", - "tunnel", - 1 - ] - ], - "paint": { - "line-color": "rgba(118, 125, 118, 1)", - "line-width": { - "stops": [ - [ - 14, - 1 - ], - [ - 18, - 5 - ] - ] - } - } - }, - { - "id": "roads_secondary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "secondary" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 12, - 2 - ], - [ - 14, - 4 - ], - [ - 18, - 14 - ] - ] - } - } - }, - { - "id": "roads_primary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 11, - "filter": [ - "all", - [ - "==", - "type", - "primary" - ] - ], - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 11, - 2 - ], - [ - 14, - 5 - ], - [ - 18, - 20 - ] - ] - } - } - }, - { - "id": "roads_motorway_z14", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "filter": [ - "all", - [ - "in", - "type", - "motorway", - "motorway_link", - "trunk", - "trunk_link" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 14, - 4 - ], - [ - 18, - 20 - ] - ] - } - } - }, - { - "id": "roads_motorway_z11", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 11, - "maxzoom": 14, - "filter": [ - "all", - [ - "in", - "type", - "motorway", - "trunk" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 11, - 2 - ], - [ - 14, - 3 - ] - ] - } - } - }, - { - "id": "roads_motorway_z7", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 7, - "maxzoom": 11, - "filter": [ - "all", - [ - "in", - "type", - "motorway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(150, 154, 142, 1)", - "line-width": { - "stops": [ - [ - 7, - 0.6 - ], - [ - 8, - 1.2 - ], - [ - 9, - 1.5 - ], - [ - 11, - 2 - ] - ] - } - } - }, - { - "id": "roads_links_z9", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 9, - "maxzoom": 11, - "filter": [ - "all", - [ - "in", - "type", - "trunk", - "primary" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 9, - 1 - ], - [ - 11, - 1.5 - ] - ] - } - } - }, - { - "id": "roads_trunk_z7", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 7, - "maxzoom": 9, - "filter": [ - "all", - [ - "in", - "type", - "trunk", - "primary" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(140, 152, 140, 1)", - "line-width": { - "stops": [ - [ - 7, - 0.3 - ], - [ - 8, - 1 - ] - ] - } - } - }, - { - "id": "roads_motorway_z4", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 4, - "maxzoom": 7, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(119, 135, 119, 1)", - "line-width": { - "stops": [ - [ - 4, - 0.5 - ], - [ - 7, - 1 - ] - ] - } - } - }, - { - "id": "roads_labels_minor", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all", - [ - "!in", - "type", - "motorway", - "subway", - "primary" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 14, - 8 - ], - [ - 15, - 10 - ], - [ - 18, - 11 - ] - ] - }, - "icon-allow-overlap": true, - "icon-optional": false, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false - }, - "paint": { - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-color": "rgba(45, 41, 32, 1)" - } - }, - { - "id": "roads_labels_primary", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 11, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "primary" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 11, - 8 - ], - [ - 13, - 13 - ], - [ - 15, - 14 - ] - ] - }, - "icon-allow-overlap": true, - "icon-optional": false, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false - }, - "paint": { - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-color": "rgba(45, 41, 32, 1)" - } - }, - { - "id": "admin_countrylines_z10", - "type": "line", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 2 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(106, 95, 78, 1)", - "line-width": { - "stops": [ - [ 0, - 1 - ], - [ - 7, - 1.5 - ] - ] - } - } - }, - { - "id": "admin_countrylines_z0", - "type": "line", - "source": "osm", - "source-layer": "country_lines", - "minzoom": 0, - "maxzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(106, 95, 78, 1)", - "line-width": { - "stops": [ - [ 0, - 1 - ], - [ - 7, - 1.5 - ] - ] - } - } - }, - { - "id": "admin_countrylinesdisputed", - "type": "line", - "source": "osm", - "source-layer": "country_lines_disputed", - "minzoom": 0, - "maxzoom": 20, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(106, 95, 78, 1)", - "line-width": { - "stops": [ - [ 0, - 1 - ], - [ - 7, - 1.5 - ] - ] - }, - "line-dasharray": [ - 4, - 1 - ] - } - }, - { - "id": "buildings_tilt_no_height", - "type": "fill-extrusion", - "source": "osm", - "source-layer": "buildings", - "minzoom": 0, - "maxzoom": 24, - "filter": [ - "all" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-extrusion-opacity": 0.8, - "fill-extrusion-height": 10, - "fill-extrusion-color": "rgba(60, 60, 43, 1)" - } - }, - { - "id": "buildings_tilt", - "type": "fill-extrusion", - "source": "osm", - "source-layer": "buildings", - "filter": [ - "all", - [ - "has", - "height" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-extrusion-color": "rgba(60, 60, 43, 1)", - "fill-extrusion-height": { - "property": "height", - "type": "identity" - }, - "fill-extrusion-base": 0, - "fill-extrusion-opacity": 0.8 - } - }, - { - "id": "city_labels_z14", - "type": "symbol", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 14, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 8 - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.5 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "city_labels_z12", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 12, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "featurecla", - "Populated place" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.5 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "city_labels_z6", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 6, - "maxzoom": 12, - "filter": [ - "all", - [ - "==", - "featurecla", - "Populated place" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10 - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "state_labels", - "type": "symbol", - "source": "osm", - "source-layer": "state_label_points", - "minzoom": 4, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "scalerank", - 2 - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold Italic" - ], - "text-size": { - "stops": [ - [ - 4, - 8 - ], - [ - 10, - 16 - ] - ] - } - }, - "paint": { - "text-color": "rgba(119, 135, 119, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "statecapital_labels_z10", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-1 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 10, - "text-transform": "uppercase" - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "statecapital_labels_z4", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 4, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-1 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 4, - 7 - ], - [ - 10, - 10 - ] - ] - } - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "capital_labels_z10", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-0 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 11, - "text-transform": "uppercase" - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "capital_labels_z3", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 3, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-0 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 3, - 9 - ], - [ - 10, - 11 - ] - ] - } - }, - "paint": { - "text-color": "rgba(69, 86, 71, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "country_labels", - "type": "symbol", - "source": "osm", - "source-layer": "country_label_points", - "minzoom": 3, - "maxzoom": 7, - "filter": [ - "all", - [ - "==", - "scalerank", - 0 - ] - ], - "layout": { - "text-field": "{sr_subunit}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 3, - 11 - ], - [ - 7, - 13 - ] - ] - } - }, - "paint": { - "text-color": "rgba(106, 95, 78, 1)", - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 1, - "text-halo-blur": 5 - } - }, - { - "id": "roads_14_shields", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "motorway" - ], - [ - "!=", - "ref", - "" - ] - ], - "layout": { - "text-field": "{ref}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 14, - 9 - ], - [ - 15, - 10 - ] - ] - }, - "icon-allow-overlap": false, - "icon-optional": true, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false, - "icon-image": "camoshield6", - "text-rotation-alignment": "viewport", - "icon-rotation-alignment": "viewport", - "icon-size": 1, - "icon-text-fit": "width", - "icon-text-fit-padding": [ - 0, - 10, - 0, - 10 - ], - "text-max-width": 1, - "icon-rotate": 0 - }, - "paint": { - "text-color": "rgba(51, 51, 51, 1)", - "icon-color": "rgba(158, 22, 22, 1)", - "icon-halo-color": "rgba(199, 63, 63, 1)", - "icon-opacity": 1, - "text-translate-anchor": "viewport", - "icon-translate-anchor": "viewport" - } - } - ], - "created": "2017-01-04T21:12:33.904Z", - "id": "f0usgx9v5", - "owner": "" +{ + "pitch": 0, + "layers": [ + { + "id": "background", + "type": "background", + "maxzoom": 24, + "filter": [ + "all" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "background-color": "rgba(69, 86, 71, .9)" + } + }, + { + "id": "land", + "type": "fill", + "source": "osm", + "source-layer": "land", + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(98, 117, 98, 1)" + } + }, + { + "id": "pier", + "type": "fill", + "source": "osm", + "source-layer": "other_areas", + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(98, 117, 98, 1)" + } + }, + { + "id": "landuse_areas_z13", + "type": "fill", + "source": "osm", + "source-layer": "landuse_areas", + "minzoom": 13, + "maxzoom": 24, + "paint": { + "fill-color": { + "property": "type", + "type": "categorical", + "default": "transparent", + "stops": [ + [ + "farmland", + "rgba(189, 130, 88, 0.13)" + ], + [ + "farm", + "rgba(189, 130, 88, 0.13)" + ], + [ + "orchard", + "rgba(189, 130, 88, 0.13)" + ], + [ + "allotments", + "rgba(189, 130, 88, 0.13)" + ], + [ + "residential", + "rgba(153, 195, 150, 0.2)" + ], + [ + "college", + "rgba(120, 39, 31, 0.16)" + ], + [ + "school", + "rgba(120, 39, 31, 0.16)" + ], + [ + "education", + "rgba(120, 39, 31, 0.16)" + ], + [ + "university", + "rgba(120, 39, 31, 0.16)" + ], + [ + "park", + "rgba(62, 195, 6, 0.15)" + ], + [ + "sports_centre", + "rgba(62, 195, 6, 0.15)" + ], + [ + "stadium", + "rgba(62, 195, 6, 0.15)" + ], + [ + "grass", + "rgba(62, 195, 6, 0.15)" + ], + [ + "grassland", + "rgba(62, 195, 6, 0.15)" + ], + [ + "garden", + "rgba(62, 195, 6, 0.15)" + ], + [ + "village_green", + "rgba(62, 195, 6, 0.15)" + ], + [ + "recreation_ground", + "rgba(62, 195, 6, 0.15)" + ], + [ + "picnic_site", + "rgba(62, 195, 6, 0.15)" + ], + [ + "camp_site", + "rgba(62, 195, 6, 0.15)" + ], + [ + "playground", + "rgba(62, 195, 6, 0.15)" + ], + [ + "forest", + "rgba(100, 179, 100, 0.09)" + ], + [ + "wood", + "rgba(100, 179, 100, 0.09)" + ], + [ + "nature_reserve", + "rgba(100, 179, 100, 0.09)" + ] + ] + } + } + }, + { + "id": "landuse_areas_z10", + "type": "fill", + "source": "osm", + "source-layer": "landuse_areas", + "minzoom": 10, + "maxzoom": 13, + "paint": { + "fill-color": { + "property": "type", + "type": "categorical", + "default": "transparent", + "stops": [ + [ + "park", + "rgba(62, 195, 6, 0.15)" + ], + [ + "forest", + "rgba(100, 179, 100, 0.09)" + ], + [ + "wood", + "rgba(100, 179, 100, 0.09)" + ], + [ + "nature_reserve", + "rgba(100, 179, 100, 0.09)" + ] + ] + } + } + }, + { + "minzoom": 7, + "layout": { + "visibility": "visible" + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "in", + "type", + "forest", + "wood", + "nature_reserve" + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_z7", + "paint": { + "fill-color": "rgba(100, 179, 100, 0.09)" + }, + "source-layer": "landuse_areas" + }, + { + "minzoom": 5, + "layout": { + "visibility": "visible" + }, + "maxzoom": 7, + "filter": [ + "all", + [ + "in", + "type", + "forest", + "wood" + ], + [ + ">", + "area", + 50000000 + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_z5", + "paint": { + "fill-color": "rgba(100, 179, 100, 0.09)" + }, + "source-layer": "landuse_areas" + }, + { + "minzoom": 3, + "layout": { + "visibility": "visible" + }, + "maxzoom": 5, + "filter": [ + "all", + [ + "in", + "type", + "forest", + "wood" + ], + [ + ">", + "area", + 500000000 + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_z3", + "paint": { + "fill-color": "rgba(100, 179, 100, 0.09)" + }, + "source-layer": "landuse_areas" + }, + { + "minzoom": 8, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "military" + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_military_overlay", + "paint": { + "fill-color": "rgba(178, 194, 157, 1)", + "fill-pattern": "military-fill3" + }, + "source-layer": "landuse_areas" + }, + { + "id": "water_lines", + "type": "line", + "source": "osm", + "source-layer": "water_lines", + "minzoom": 8, + "maxzoom": 20, + "layout": {}, + "paint": { + "line-color": "rgba(69, 86, 71, .5)" + } + }, + { + "id": "water_areas", + "type": "fill", + "source": "osm", + "source-layer": "water_areas", + "minzoom": 3, + "maxzoom": 20, + "paint": { + "fill-color": "rgba(69, 86, 71, .5)", + "fill-pattern": "waves", + "fill-opacity": 1 + } + }, + { + "id": "pier_line", + "type": "line", + "source": "osm", + "source-layer": "other_lines", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(98, 117, 98, 1)", + "line-width": { + "stops": [ + [ + 12, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "minzoom": 10, + "layout": { + "visibility": "visible" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 4 + ] + ], + "type": "line", + "source": "osm", + "id": "state_lines_z10", + "paint": { + "line-color": "rgba(178, 171, 171, 0.5)", + "line-dasharray": [ + 6, + 3 + ] + }, + "source-layer": "admin_lines" + }, + { + "id": "state_lines_z2", + "type": "line", + "source": "osm", + "source-layer": "state_lines", + "minzoom": 2, + "maxzoom": 10, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(178, 171, 171, 0.5)", + "line-dasharray": [ + 6, + 3 + ] + } + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "track" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_track", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-dasharray": [ + 2, + 5 + ], + "line-width": 2 + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "in", + "type", + "footway", + "cycleway" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_footway", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": 1, + "line-dasharray": [ + 1, + 2 + ] + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_pier", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": 4 + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "any", + [ + "in", + "type", + "rail", + "disused" + ], + [ + "in", + "service", + "yard", + "siding" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_railyard", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 15, + 0.35 + ], + [ + 20, + 2.25 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "rail" + ], + [ + "!in", + "service", + "yard", + "siding" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_rail", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 14, + 1.25 + ], + [ + 20, + 2.25 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "id": "roads_tertiary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 14, + "filter": [ + "all", + [ + "in", + "type", + "tertiary", + "unclassified", + "residential", + "living_street" + ], + [ + "!=", + "tunnel", + 1 + ] + ], + "paint": { + "line-color": "rgba(118, 125, 118, 1)", + "line-width": { + "stops": [ + [ + 14, + 1 + ], + [ + 18, + 5 + ] + ] + } + } + }, + { + "id": "roads_secondary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "secondary" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 12, + 2 + ], + [ + 14, + 4 + ], + [ + 18, + 14 + ] + ] + } + } + }, + { + "id": "roads_primary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 11, + "filter": [ + "all", + [ + "==", + "type", + "primary" + ] + ], + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 11, + 2 + ], + [ + 14, + 5 + ], + [ + 18, + 20 + ] + ] + } + } + }, + { + "id": "roads_motorway_z14", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 14, + "filter": [ + "all", + [ + "in", + "type", + "motorway", + "motorway_link", + "trunk", + "trunk_link" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "miter" + }, + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 14, + 4 + ], + [ + 18, + 20 + ] + ] + } + } + }, + { + "minzoom": 11, + "layout": { + "visibility": "visible" + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "in", + "type", + "motorway", + "trunk" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_motorway_z11", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 11, + 2 + ], + [ + 14, + 3 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 7, + "layout": { + "visibility": "visible" + }, + "maxzoom": 11, + "filter": [ + "all", + [ + "in", + "type", + "motorway" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_motorway_z7", + "paint": { + "line-color": "rgba(150, 154, 142, 1)", + "line-width": { + "stops": [ + [ + 7, + 0.6 + ], + [ + 8, + 1.2 + ], + [ + 9, + 1.5 + ], + [ + 11, + 2 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 9, + "layout": { + "visibility": "visible" + }, + "maxzoom": 11, + "filter": [ + "all", + [ + "in", + "type", + "trunk", + "primary" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_links_z9", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 9, + 1 + ], + [ + 11, + 1.5 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 7, + "layout": { + "visibility": "visible" + }, + "maxzoom": 9, + "filter": [ + "all", + [ + "in", + "type", + "trunk", + "primary" + ] + ], + "type": "line", + "source": "osm", + "id": "roads_trunk_z7", + "paint": { + "line-color": "rgba(140, 152, 140, 1)", + "line-width": { + "stops": [ + [ + 7, + 0.3 + ], + [ + 8, + 1 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "id": "roads_motorway_z4", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 4, + "maxzoom": 7, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(119, 135, 119, 1)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 7, + 1 + ] + ] + } + } + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 8 + ], + [ + 15, + 10 + ], + [ + 18, + 11 + ] + ] + }, + "text-ignore-placement": false, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": true, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-field": "{name}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "!in", + "type", + "motorway", + "subway", + "primary" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_labels_minor", + "paint": { + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-color": "rgba(45, 41, 32, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 11, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 11, + 8 + ], + [ + 13, + 13 + ], + [ + 15, + 14 + ] + ] + }, + "text-ignore-placement": false, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": true, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-field": "{name}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "primary" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_labels_primary", + "paint": { + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-color": "rgba(45, 41, 32, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 10, + "layout": { + "visibility": "visible" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ] + ], + "type": "line", + "source": "osm", + "id": "admin_countrylines_z10", + "paint": { + "line-color": "rgba(106, 95, 78, 1)", + "line-width": { + "stops": [ + [ + 0, + 1 + ], + [ + 7, + 1.5 + ] + ] + } + }, + "source-layer": "admin_lines" + }, + { + "id": "admin_countrylines_z0", + "type": "line", + "source": "osm", + "source-layer": "country_lines", + "minzoom": 0, + "maxzoom": 10, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(106, 95, 78, 1)", + "line-width": { + "stops": [ + [ + 0, + 1 + ], + [ + 7, + 1.5 + ] + ] + } + } + }, + { + "id": "admin_countrylinesdisputed", + "type": "line", + "source": "osm", + "source-layer": "country_lines_disputed", + "minzoom": 0, + "maxzoom": 20, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(106, 95, 78, 1)", + "line-width": { + "stops": [ + [ + 0, + 1 + ], + [ + 7, + 1.5 + ] + ] + }, + "line-dasharray": [ + 4, + 1 + ] + } + }, + { + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all" + ], + "type": "fill-extrusion", + "source": "osm", + "id": "buildings_tilt_no_height", + "paint": { + "fill-extrusion-opacity": 0.8, + "fill-extrusion-height": 10, + "fill-extrusion-color": "rgba(60, 60, 43, 1)" + }, + "source-layer": "buildings" + }, + { + "id": "buildings_tilt", + "type": "fill-extrusion", + "source": "osm", + "source-layer": "buildings", + "filter": [ + "all", + [ + "has", + "height" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-extrusion-color": "rgba(60, 60, 43, 1)", + "fill-extrusion-height": { + "property": "height", + "type": "identity" + }, + "fill-extrusion-base": 0, + "fill-extrusion-opacity": 0.8 + } + }, + { + "minzoom": 14, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.5 + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 8 + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z14", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "admin_lines" + }, + { + "minzoom": 12, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.5 + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "featurecla", + "Populated place" + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z12", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 6, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10 + }, + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "featurecla", + "Populated place" + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z6", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 4, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold Italic" + ], + "text-size": { + "stops": [ + [ + 4, + 8 + ], + [ + 10, + 16 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "scalerank", + 2 + ] + ], + "type": "symbol", + "source": "osm", + "id": "state_labels", + "paint": { + "text-color": "rgba(119, 135, 119, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "state_label_points" + }, + { + "minzoom": 10, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 10, + "text-transform": "uppercase" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-1 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "statecapital_labels_z10", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 4, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 4, + 7 + ], + [ + 10, + 10 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-1 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "statecapital_labels_z4", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 10, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 11, + "text-transform": "uppercase" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-0 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "capital_labels_z10", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 3, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 3, + 9 + ], + [ + 10, + 11 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-0 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "capital_labels_z3", + "paint": { + "text-color": "rgba(69, 86, 71, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 3, + "layout": { + "text-field": "{sr_subunit}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 7, + 13 + ] + ] + } + }, + "maxzoom": 7, + "filter": [ + "all", + [ + "==", + "scalerank", + 0 + ] + ], + "type": "symbol", + "source": "osm", + "id": "country_labels", + "paint": { + "text-color": "rgba(106, 95, 78, 1)", + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 1, + "text-halo-blur": 5 + }, + "source-layer": "country_label_points" + }, + { + "minzoom": 8, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shieldslowzoom", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "==", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields_only1", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 100, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields1", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 200, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref2}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields2", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref3}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref3", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields3", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 400, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref4}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref4", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields4", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref5}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref5", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields5", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 600, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref6}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref6", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields6", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 11 + ], + [ + 15, + 14 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "camoshield6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 700, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref7}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref7", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields7", + "paint": { + "text-color": "rgba(51, 51, 51, 1)" + }, + "source-layer": "transport_lines" + } + ], + "sprite": "https://go-spatial.github.io/carto-assets/spritesets/osm_tegola_spritesheet", + "glyphs": "https://go-spatial.github.io/carto-assets/fonts/{fontstack}/{range}.pbf", + "created": "2017-01-04T21:12:33.904Z", + "name": "camo3d", + "bearing": 0, + "metadata": { + "mapbox:autocomposite": false, + "mapbox:type": "template", + "openmaptiles:version": "3.x", + "maputnik:renderer": "mbgljs", + "inspect": true + }, + "owner": "", + "zoom": 14.11, + "center": [ + 7.1434, + 50.7338 + ], + "version": 8, + "sources": { + "osm": { + "type": "vector", + "url": "https://osm.tegola.io/capabilities/osm.json" + } + }, + "id": "52497a53-be2a-4cd4-8a8e-a8269ccefc92" } \ No newline at end of file diff --git a/styles/mobility.json b/styles/mobility.json index ad96dff2..6b80ccb9 100644 --- a/styles/mobility.json +++ b/styles/mobility.json @@ -1,1568 +1,2066 @@ -{ - "version": 8, - "name": "mobility", - "metadata": { - "mapbox:autocomposite": false, - "mapbox:type": "template", - "openmaptiles:version": "3.x", - "maputnik:renderer": "mbgljs", - "inspect": true - }, - "center": [ - 7.1119, - 50.7377 - ], - "zoom": 11.5, - "bearing": 0, - "pitch": 0, - "sources": { - "osm": { - "type": "vector", - "url": "https://osm.tegola.io/capabilities/osm.json" - } - }, - "sprite": "https://go-spatial.github.io/carto-assets/spritesets/osm_tegola_spritesheet", - "glyphs": "https://go-spatial.github.io/carto-assets/fonts/{fontstack}/{range}.pbf", - "layers": [ - { - "id": "background", - "type": "background", - "maxzoom": 24, - "filter": [ - "all" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "background-color": "rgba(27, 37, 52, 1)" - } - }, - { - "id": "land", - "type": "fill", - "source": "osm", - "source-layer": "land", - "paint": { - "fill-color": "rgba(198, 201, 193, 1)" - } - }, - { - "id": "pier", - "type": "fill", - "source": "osm", - "source-layer": "other_areas", - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(198, 201, 193, 1)" - } - }, - { - "id": "water_areas", - "type": "fill", - "source": "osm", - "source-layer": "water_areas", - "minzoom": 7, - "maxzoom": 24, - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(27, 37, 52, 1)" - } - }, - { - "id": "water_areas_z3", - "type": "fill", - "source": "osm", - "source-layer": "water_areas", - "minzoom": 3, - "maxzoom": 7, - "filter": [ - "all", - [ - ">", - "area", - 1000000000 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(27, 37, 52, 1)" - } - }, - { - "id": "pier_line", - "type": "line", - "source": "osm", - "source-layer": "other_lines", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "pier" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(198, 201, 193, 1)", - "line-width": { - "stops": [ - [ - 12, - 2 - ], - [ - 18, - 7 - ] - ] - } - } - }, - { - "id": "landuse_areas", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": { - "property": "type", - "type": "categorical", - "default": "transparent", - "stops": [ - [ - "hospital", - "rgba(189, 67, 67, 0.2)" - ], - [ - "school", - "rgba(107, 73, 38, 0.15)" - ], - [ - "college", - "rgba(107, 73, 38, 0.15)" - ], - [ - "education", - "rgba(107, 73, 38, 0.15)" - ], - [ - "university", - "rgba(107, 73, 38, 0.15)" - ], - [ - "residential", - "rgba(153, 195, 150, 0.2)" - ], - [ - "grassland", - "rgba(159, 173, 153, .5)" - ], - [ - "forest", - "rgba(100, 179, 100, 0.09)" - ], - [ - "farm", - "rgba(206, 212, 203, 1)" - ], - [ - "farmland", - "rgba(206, 212, 203, 1)" - ], - [ - "orchard", - "rgba(206, 212, 203, 1)" - ], - [ - "allotments", - "rgba(206, 212, 203, 1)" - ], - [ - "garden", - "rgba(206, 212, 203, 1)" - ] - ] - } - } - }, - { - "id": "landuse_areas_military_overlay", - "type": "fill", - "source": "osm", - "source-layer": "landuse_areas", - "minzoom": 1, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "military" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(178, 194, 157, 1)", - "fill-pattern": "military-fill2" - } - }, - { - "id": "landuse_areas_lines", - "type": "line", - "source": "osm", - "source-layer": "landuse_areas", - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": { - "property": "type", - "type": "categorical", - "default": "transparent", - "stops": [ - [ - "hospital", - "rgba(195, 32, 7, 0.5)" - ], - [ - "school", - "rgba(105, 74, 35, 0.45)" - ], - [ - "college", - "rgba(105, 74, 35, 0.45)" - ], - [ - "education", - "rgba(105, 74, 35, 0.45)" - ], - [ - "university", - "rgba(105, 74, 35, 0.45)" - ] - ] - } - } - }, - { - "id": "aero_areas", - "type": "fill", - "source": "osm", - "source-layer": "transport_areas", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "aerodrome" - ] - ], - "paint": { - "fill-color": "rgba(240, 240, 240, 1)" - } - }, - { - "id": "aero_apron_areas", - "type": "fill", - "source": "osm", - "source-layer": "transport_areas", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "apron" - ] - ], - "paint": { - "fill-color": "rgba(220, 220, 220, 1)" - } - }, - { - "id": "aero_areas_outlines", - "type": "line", - "source": "osm", - "source-layer": "transport_areas", - "minzoom": 12, - "filter": [ - "all", - [ - "==", - "type", - "aerodrome" - ] - ], - "layout": {}, - "paint": { - "line-color": "rgba(50, 50, 50, 1)", - "line-width": 2 - } - }, - { - "id": "aero_taxiway_lines", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 12, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "taxiway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(40, 40, 40, 1)", - "line-dasharray": [ - 3, - 1 - ], - "line-width": { - "stops": [ - [ - 12, - 1 - ], - [ - 18, - 8 - ] - ] - } - } - }, - { - "id": "aero_runway_lines", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 12, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "runway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(30, 30, 30, 1)", - "line-width": { - "stops": [ - [ - 12, - 1.5 - ], - [ - 18, - 15 - ] - ] - } - } - }, - { - "id": "aero_apron_lines", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 12, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "apron" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-width": 2, - "line-color": "rgba(100, 100, 100, 1)" - } - }, - { - "id": "state_lines_z10", - "type": "line", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 4 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(178, 171, 171, 1)", - "line-dasharray": [ - 6, - 3 - ], - "line-width": 1.5 - } - }, - { - "id": "state_lines_z2", - "type": "line", - "source": "osm", - "source-layer": "state_lines", - "minzoom": 2, - "maxzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(178, 171, 171, 1)", - "line-dasharray": [ - 6, - 3 - ], - "line-width": 1.5 - } - }, - { - "id": "road_rail", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "rail" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "rgba(146, 143, 143, 1)", - "line-width": { - "base": 1.4, - "stops": [ - [ - 14, - 0.4 - ], - [ - 15, - 0.75 - ], - [ - 20, - 2 - ] - ] - } - } - }, - { - "id": "road_railhatch", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "rail" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "miter" - }, - "paint": { - "line-color": "#928F8F", - "line-dasharray": [ - 0.2, - 8 - ], - "line-width": { - "base": 1.4, - "stops": [ - [ - 14.5, - 0 - ], - [ - 15, - 3 - ], - [ - 20, - 8 - ] - ] - } - } - }, - { - "id": "road_service", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "track", - "footway", - "cycleway", - "path", - "service" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(181, 177, 169, 1)", - "line-width": { - "stops": [ - [ - 15, - 1 - ], - [ - 16, - 4 - ], - [ - 20, - 11 - ] - ] - } - } - }, - { - "id": "road_residential_case", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "residential" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "#cfcdca", - "line-width": { - "stops": [ - [ - 12, - 0.5 - ], - [ - 13, - 1 - ], - [ - 14, - 4 - ], - [ - 20, - 20 - ] - ] - } - } - }, - { - "id": "road_residential", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "residential" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(216, 213, 207, 1)", - "line-width": { - "stops": [ - [ - 13.5, - 0 - ], - [ - 14, - 2.5 - ], - [ - 20, - 18 - ] - ] - } - } - }, - { - "id": "road_secondary_case", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "secondary", - "tertiary" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(129, 130, 124, 1)", - "line-width": { - "stops": [ - [ - 8, - 1.5 - ], - [ - 20, - 13 - ] - ] - } - } - }, - { - "id": "road_secondary", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "secondary", - "tertiary" - ] - ], - "layout": { - "line-cap": "round", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(149, 150, 143, 1)", - "line-width": { - "stops": [ - [ - 6.5, - 0 - ], - [ - 8, - 0.5 - ], - [ - 20, - 9 - ] - ] - } - } - }, - { - "id": "road_trunk_case", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "primary", - "trunk", - "trunk_link", - "motorway_link", - "primary_link" - ] - ], - "layout": { - "visibility": "visible", - "line-join": "round", - "line-cap": "butt" - }, - "paint": { - "line-color": "rgba(129, 130, 124, 1)", - "line-width": { - "stops": [ - [ - 5, - 0.4 - ], - [ - 6, - 0.7 - ], - [ - 7, - 1.5 - ], - [ - 10, - 2 - ], - [ - 20, - 14 - ] - ] - } - } - }, - { - "id": "road_trunk", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "primary", - "trunk", - "trunk_link", - "motorway_link", - "primary_link" - ] - ], - "layout": { - "visibility": "visible", - "line-join": "round", - "line-cap": "round" - }, - "paint": { - "line-color": "rgba(149, 150, 143, 1)", - "line-width": { - "stops": [ - [ - 5, - 0 - ], - [ - 7, - 0.8 - ], - [ - 10, - 1.5 - ], - [ - 20, - 11 - ] - ] - } - } - }, - { - "id": "road_motorway_case", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "filter": [ - "all", - [ - "in", - "type", - "motorway" - ] - ], - "layout": { - "visibility": "visible", - "line-cap": "butt", - "line-join": "round" - }, - "paint": { - "line-color": "rgba(73, 74, 69, 1)", - "line-width": { - "stops": [ - [ - 6, - 0.7 - ], - [ - 7, - 1.75 - ], - [ - 10, - 2.5 - ], - [ - 20, - 18 - ] - ] - } - } - }, - { - "id": "road_motorway", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 7, - "filter": [ - "all", - [ - "in", - "type", - "motorway" - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(118, 121, 114, 1)", - "line-width": { - "stops": [ - [ - 7, - 1 - ], - [ - 10, - 1.7 - ], - [ - 20, - 14 - ] - ] - } - } - }, - { - "id": "roads_motorway_z4_minzoom", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 4, - "maxzoom": 8, - "filter": [ - "all", - [ - ">", - "min_zoom", - 5 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(149, 150, 143, 1)", - "line-width": { - "stops": [ - [ - 4, - 0.5 - ], - [ - 8, - 1 - ] - ] - } - } - }, - { - "id": "road_motorway_z4", - "type": "line", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 4, - "maxzoom": 8, - "filter": [ - "all", - [ - "<=", - "min_zoom", - 5 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(73, 74, 69, 1)", - "line-width": { - "stops": [ - [ - 4, - 0.5 - ], - [ - 8, - 1 - ] - ] - } - } - }, - { - "id": "label_road_name", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "minzoom": 14, - "maxzoom": 24, - "filter": [ - "all" - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 14, - 8 - ], - [ - 15, - 14 - ] - ] - }, - "icon-allow-overlap": true, - "icon-optional": false, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false - }, - "paint": { - "text-halo-color": "rgba(98, 117, 98, 1)", - "text-halo-width": 0, - "text-color": "rgba(30, 30, 32, 1)" - } - }, - { - "id": "admin_countrylines_z10", - "type": "line", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 2 - ] - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(182, 195, 183, 1)", - "line-width": { - "stops": [ - [ 0, - 0.5 - ], - [ - 7, - 3 - ] - ] - } - } - }, - { - "id": "admin_countrylines_z0", - "type": "line", - "source": "osm", - "source-layer": "country_lines", - "minzoom": 0, - "maxzoom": 10, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(182, 195, 183, 1)", - "line-width": { - "stops": [ - [ 0, - 0.5 - ], - [ - 7, - 3 - ] - ] - } - } - }, - { - "id": "admin_countrylinesdisputed", - "type": "line", - "source": "osm", - "source-layer": "country_lines_disputed", - "minzoom": 0, - "maxzoom": 20, - "layout": { - "visibility": "visible" - }, - "paint": { - "line-color": "rgba(182, 195, 183, 1)", - "line-width": { - "stops": [ - [ 0, - 0.5 - ], - [ - 7, - 3 - ] - ] - } - } - }, - { - "id": "city_labels_z14", - "type": "symbol", - "source": "osm", - "source-layer": "admin_lines", - "minzoom": 14, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "admin_level", - 8 - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.5 - }, - "paint": { - "text-color": "rgba(34, 34, 34, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "city_labels_z12", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 12, - "maxzoom": 14, - "filter": [ - "all", - [ - "==", - "featurecla", - "Populated place" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10, - "text-transform": "uppercase", - "text-letter-spacing": 0.5 - }, - "paint": { - "text-color": "rgba(34, 34, 34, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "city_labels_z6", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 6, - "maxzoom": 12, - "filter": [ - "all", - [ - "==", - "featurecla", - "Populated place" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Regular" - ], - "text-size": 10 - }, - "paint": { - "text-color": "rgba(34, 34, 34, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "state_labels", - "type": "symbol", - "source": "osm", - "source-layer": "state_label_points", - "minzoom": 5, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "scalerank", - 2 - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold Italic" - ], - "text-size": { - "stops": [ - [ - 5, - 9 - ], - [ - 10, - 16 - ] - ] - } - }, - "paint": { - "text-color": "rgba(145, 145, 158, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "statecapital_labels_z10", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-1 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 10, - "text-transform": "uppercase" - }, - "paint": { - "text-color": "rgba(68, 51, 85, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "statecapital_labels_z4", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 4, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-1 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 4, - 7 - ], - [ - 10, - 10 - ] - ] - } - }, - "paint": { - "text-color": "rgba(68, 51, 85, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "capital_labels_z10", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 10, - "maxzoom": 20, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-0 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 11, - "text-transform": "uppercase" - }, - "paint": { - "text-color": "rgba(68, 51, 85, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "capital_labels_z3", - "type": "symbol", - "source": "osm", - "source-layer": "populated_places", - "minzoom": 3, - "maxzoom": 10, - "filter": [ - "all", - [ - "==", - "featurecla", - "Admin-0 capital" - ] - ], - "layout": { - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 3, - 9 - ], - [ - 10, - 11 - ] - ] - } - }, - "paint": { - "text-color": "rgba(68, 51, 85, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 1 - } - }, - { - "id": "country_labels", - "type": "symbol", - "source": "osm", - "source-layer": "country_label_points", - "minzoom": 3, - "maxzoom": 7, - "filter": [ - "all", - [ - "==", - "scalerank", - 0 - ] - ], - "layout": { - "text-field": "{sr_subunit}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": { - "stops": [ - [ - 3, - 11 - ], - [ - 7, - 13 - ] - ] - } - }, - "paint": { - "text-color": "rgba(68, 51, 85, 1)", - "text-halo-color": "rgba(198, 201, 193, 1)", - "text-halo-width": 1, - "text-halo-blur": 5 - } - }, - { - "id": "building", - "type": "fill", - "source": "osm", - "source-layer": "buildings", - "minzoom": 0, - "maxzoom": 24, - "filter": [ - "all" - ], - "layout": { - "visibility": "visible" - }, - "paint": { - "fill-color": "rgba(188, 191, 184, 1)", - "fill-outline-color": "rgba(167, 167, 148, 1)" - } - }, - { - "id": "icon_helipad", - "type": "symbol", - "source": "osm", - "source-layer": "transport_points", - "minzoom": 16, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "helipad" - ] - ], - "layout": { - "icon-image": "topo_heliport-15", - "icon-size": 1, - "icon-optional": false, - "visibility": "visible" - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)" - } - }, - { - "id": "icon_airport", - "type": "symbol", - "source": "osm", - "source-layer": "transport_areas", - "minzoom": 12, - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "aerodrome" - ] - ], - "layout": { - "icon-image": "topo_airport-15", - "icon-size": 1, - "icon-optional": false, - "visibility": "visible", - "text-field": "{name}", - "text-font": [ - "Open Sans Bold" - ], - "text-size": 10, - "text-offset": [ - 0, - 2 - ] - }, - "paint": { - "icon-color": "rgba(0, 0, 0, 1)", - "text-color": "rgba(34, 34, 34, 1)", - "text-halo-color": "rgba(255, 255, 255, 1)", - "text-halo-width": 0.5 - } - }, - { - "id": "label_motorway_shield", - "type": "symbol", - "source": "osm", - "source-layer": "transport_lines", - "maxzoom": 24, - "filter": [ - "all", - [ - "==", - "type", - "motorway" - ], - [ - "!=", - "ref", - "" - ] - ], - "layout": { - "text-field": "{ref}", - "text-font": [ - "Open Sans Regular" - ], - "symbol-placement": "line", - "text-size": { - "stops": [ - [ - 14, - 9 - ], - [ - 15, - 10 - ] - ] - }, - "icon-allow-overlap": false, - "icon-optional": true, - "text-line-height": 1.2, - "visibility": "visible", - "text-ignore-placement": false, - "icon-image": "rectangle-6", - "text-rotation-alignment": "viewport", - "icon-rotation-alignment": "viewport", - "icon-size": 1, - "icon-text-fit": "width", - "icon-text-fit-padding": [ - 0, - 10, - 0, - 10 - ], - "text-max-width": 1 - }, - "paint": { - "text-color": "#333", - "icon-color": "rgba(158, 22, 22, 1)", - "icon-halo-color": "rgba(199, 63, 63, 1)", - "icon-opacity": 1, - "text-translate-anchor": "viewport", - "icon-translate-anchor": "viewport" - } - } - ], - "created": "2017-01-04T21:12:33.904Z", - "id": "f0usgx9v5", - "owner": "" +{ + "pitch": 0, + "layers": [ + { + "id": "background", + "type": "background", + "maxzoom": 24, + "filter": [ + "all" + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "background-color": "rgba(27, 37, 52, 1)" + } + }, + { + "id": "land", + "type": "fill", + "source": "osm", + "source-layer": "land", + "paint": { + "fill-color": "rgba(198, 201, 193, 1)" + } + }, + { + "id": "pier", + "type": "fill", + "source": "osm", + "source-layer": "other_areas", + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(198, 201, 193, 1)" + } + }, + { + "id": "water_areas", + "type": "fill", + "source": "osm", + "source-layer": "water_areas", + "minzoom": 7, + "maxzoom": 24, + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "rgba(27, 37, 52, 1)" + } + }, + { + "minzoom": 3, + "layout": { + "visibility": "visible" + }, + "maxzoom": 7, + "filter": [ + "all", + [ + ">", + "area", + 1000000000 + ] + ], + "type": "fill", + "source": "osm", + "id": "water_areas_z3", + "paint": { + "fill-color": "rgba(27, 37, 52, 1)" + }, + "source-layer": "water_areas" + }, + { + "id": "pier_line", + "type": "line", + "source": "osm", + "source-layer": "other_lines", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(198, 201, 193, 1)", + "line-width": { + "stops": [ + [ + 12, + 2 + ], + [ + 18, + 7 + ] + ] + } + } + }, + { + "id": "landuse_areas", + "type": "fill", + "source": "osm", + "source-layer": "landuse_areas", + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": { + "property": "type", + "type": "categorical", + "default": "transparent", + "stops": [ + [ + "hospital", + "rgba(189, 67, 67, 0.2)" + ], + [ + "school", + "rgba(107, 73, 38, 0.15)" + ], + [ + "college", + "rgba(107, 73, 38, 0.15)" + ], + [ + "education", + "rgba(107, 73, 38, 0.15)" + ], + [ + "university", + "rgba(107, 73, 38, 0.15)" + ], + [ + "residential", + "rgba(153, 195, 150, 0.2)" + ], + [ + "grassland", + "rgba(159, 173, 153, .5)" + ], + [ + "forest", + "rgba(100, 179, 100, 0.09)" + ], + [ + "farm", + "rgba(206, 212, 203, 1)" + ], + [ + "farmland", + "rgba(206, 212, 203, 1)" + ], + [ + "orchard", + "rgba(206, 212, 203, 1)" + ], + [ + "allotments", + "rgba(206, 212, 203, 1)" + ], + [ + "garden", + "rgba(206, 212, 203, 1)" + ] + ] + } + } + }, + { + "minzoom": 1, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "military" + ] + ], + "type": "fill", + "source": "osm", + "id": "landuse_areas_military_overlay", + "paint": { + "fill-color": "rgba(178, 194, 157, 1)", + "fill-pattern": "military-fill2" + }, + "source-layer": "landuse_areas" + }, + { + "id": "landuse_areas_lines", + "type": "line", + "source": "osm", + "source-layer": "landuse_areas", + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": { + "property": "type", + "type": "categorical", + "default": "transparent", + "stops": [ + [ + "hospital", + "rgba(195, 32, 7, 0.5)" + ], + [ + "school", + "rgba(105, 74, 35, 0.45)" + ], + [ + "college", + "rgba(105, 74, 35, 0.45)" + ], + [ + "education", + "rgba(105, 74, 35, 0.45)" + ], + [ + "university", + "rgba(105, 74, 35, 0.45)" + ] + ] + } + } + }, + { + "id": "aero_areas", + "type": "fill", + "source": "osm", + "source-layer": "transport_areas", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "aerodrome" + ] + ], + "paint": { + "fill-color": "rgba(240, 240, 240, 1)" + } + }, + { + "id": "aero_apron_areas", + "type": "fill", + "source": "osm", + "source-layer": "transport_areas", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "apron" + ] + ], + "paint": { + "fill-color": "rgba(220, 220, 220, 1)" + } + }, + { + "id": "aero_areas_outlines", + "type": "line", + "source": "osm", + "source-layer": "transport_areas", + "minzoom": 12, + "filter": [ + "all", + [ + "==", + "type", + "aerodrome" + ] + ], + "layout": {}, + "paint": { + "line-color": "rgba(50, 50, 50, 1)", + "line-width": 2 + } + }, + { + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "taxiway" + ] + ], + "type": "line", + "source": "osm", + "id": "aero_taxiway_lines", + "paint": { + "line-color": "rgba(40, 40, 40, 1)", + "line-dasharray": [ + 3, + 1 + ], + "line-width": { + "stops": [ + [ + 12, + 1 + ], + [ + 18, + 8 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "runway" + ] + ], + "type": "line", + "source": "osm", + "id": "aero_runway_lines", + "paint": { + "line-color": "rgba(30, 30, 30, 1)", + "line-width": { + "stops": [ + [ + 12, + 1.5 + ], + [ + 18, + 15 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 12, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "apron" + ] + ], + "type": "line", + "source": "osm", + "id": "aero_apron_lines", + "paint": { + "line-width": 2, + "line-color": "rgba(100, 100, 100, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 10, + "layout": { + "visibility": "visible" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 4 + ] + ], + "type": "line", + "source": "osm", + "id": "state_lines_z10", + "paint": { + "line-color": "rgba(178, 171, 171, 1)", + "line-dasharray": [ + 6, + 3 + ], + "line-width": 1.5 + }, + "source-layer": "admin_lines" + }, + { + "id": "state_lines_z2", + "type": "line", + "source": "osm", + "source-layer": "state_lines", + "minzoom": 2, + "maxzoom": 10, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(178, 171, 171, 1)", + "line-dasharray": [ + 6, + 3 + ], + "line-width": 1.5 + } + }, + { + "id": "road_rail", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "rail" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "miter" + }, + "paint": { + "line-color": "rgba(146, 143, 143, 1)", + "line-width": { + "base": 1.4, + "stops": [ + [ + 14, + 0.4 + ], + [ + 15, + 0.75 + ], + [ + 20, + 2 + ] + ] + } + } + }, + { + "id": "road_railhatch", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "rail" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "miter" + }, + "paint": { + "line-color": "#928F8F", + "line-dasharray": [ + 0.2, + 8 + ], + "line-width": { + "base": 1.4, + "stops": [ + [ + 14.5, + 0 + ], + [ + 15, + 3 + ], + [ + 20, + 8 + ] + ] + } + } + }, + { + "id": "road_service", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "track", + "footway", + "cycleway", + "path", + "service" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(181, 177, 169, 1)", + "line-width": { + "stops": [ + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 20, + 11 + ] + ] + } + } + }, + { + "id": "road_residential_case", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "residential" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#cfcdca", + "line-width": { + "stops": [ + [ + 12, + 0.5 + ], + [ + 13, + 1 + ], + [ + 14, + 4 + ], + [ + 20, + 20 + ] + ] + } + } + }, + { + "id": "road_residential", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "residential" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(216, 213, 207, 1)", + "line-width": { + "stops": [ + [ + 13.5, + 0 + ], + [ + 14, + 2.5 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "road_secondary_case", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(129, 130, 124, 1)", + "line-width": { + "stops": [ + [ + 8, + 1.5 + ], + [ + 20, + 13 + ] + ] + } + } + }, + { + "id": "road_secondary", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "secondary", + "tertiary" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(149, 150, 143, 1)", + "line-width": { + "stops": [ + [ + 6.5, + 0 + ], + [ + 8, + 0.5 + ], + [ + 20, + 9 + ] + ] + } + } + }, + { + "id": "road_trunk_case", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "primary", + "trunk", + "trunk_link", + "motorway_link", + "primary_link" + ] + ], + "layout": { + "visibility": "visible", + "line-join": "round", + "line-cap": "butt" + }, + "paint": { + "line-color": "rgba(129, 130, 124, 1)", + "line-width": { + "stops": [ + [ + 5, + 0.4 + ], + [ + 6, + 0.7 + ], + [ + 7, + 1.5 + ], + [ + 10, + 2 + ], + [ + 20, + 14 + ] + ] + } + } + }, + { + "id": "road_trunk", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "primary", + "trunk", + "trunk_link", + "motorway_link", + "primary_link" + ] + ], + "layout": { + "visibility": "visible", + "line-join": "round", + "line-cap": "round" + }, + "paint": { + "line-color": "rgba(149, 150, 143, 1)", + "line-width": { + "stops": [ + [ + 5, + 0 + ], + [ + 7, + 0.8 + ], + [ + 10, + 1.5 + ], + [ + 20, + 11 + ] + ] + } + } + }, + { + "id": "road_motorway_case", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "filter": [ + "all", + [ + "in", + "type", + "motorway" + ] + ], + "layout": { + "visibility": "visible", + "line-cap": "butt", + "line-join": "round" + }, + "paint": { + "line-color": "rgba(73, 74, 69, 1)", + "line-width": { + "stops": [ + [ + 6, + 0.7 + ], + [ + 7, + 1.75 + ], + [ + 10, + 2.5 + ], + [ + 20, + 18 + ] + ] + } + } + }, + { + "id": "road_motorway", + "type": "line", + "source": "osm", + "source-layer": "transport_lines", + "minzoom": 7, + "filter": [ + "all", + [ + "in", + "type", + "motorway" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(118, 121, 114, 1)", + "line-width": { + "stops": [ + [ + 7, + 1 + ], + [ + 10, + 1.7 + ], + [ + 20, + 14 + ] + ] + } + } + }, + { + "minzoom": 4, + "layout": { + "visibility": "visible" + }, + "maxzoom": 8, + "filter": [ + "all", + [ + ">", + "min_zoom", + 5 + ] + ], + "type": "line", + "source": "osm", + "id": "roads_motorway_z4_minzoom", + "paint": { + "line-color": "rgba(149, 150, 143, 1)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 8, + 1 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 4, + "layout": { + "visibility": "visible" + }, + "maxzoom": 8, + "filter": [ + "all", + [ + "<=", + "min_zoom", + 5 + ] + ], + "type": "line", + "source": "osm", + "id": "road_motorway_z4", + "paint": { + "line-color": "rgba(73, 74, 69, 1)", + "line-width": { + "stops": [ + [ + 4, + 0.5 + ], + [ + 8, + 1 + ] + ] + } + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 8 + ], + [ + 15, + 14 + ] + ] + }, + "text-ignore-placement": false, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": true, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-field": "{name}" + }, + "maxzoom": 24, + "filter": [ + "all" + ], + "type": "symbol", + "source": "osm", + "id": "label_road_name", + "paint": { + "text-halo-color": "rgba(98, 117, 98, 1)", + "text-halo-width": 0, + "text-color": "rgba(30, 30, 32, 1)" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 10, + "layout": { + "visibility": "visible" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 2 + ] + ], + "type": "line", + "source": "osm", + "id": "admin_countrylines_z10", + "paint": { + "line-color": "rgba(182, 195, 183, 1)", + "line-width": { + "stops": [ + [ + 0, + 0.5 + ], + [ + 7, + 3 + ] + ] + } + }, + "source-layer": "admin_lines" + }, + { + "id": "admin_countrylines_z0", + "type": "line", + "source": "osm", + "source-layer": "country_lines", + "minzoom": 0, + "maxzoom": 10, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(182, 195, 183, 1)", + "line-width": { + "stops": [ + [ + 0, + 0.5 + ], + [ + 7, + 3 + ] + ] + } + } + }, + { + "id": "admin_countrylinesdisputed", + "type": "line", + "source": "osm", + "source-layer": "country_lines_disputed", + "minzoom": 0, + "maxzoom": 20, + "layout": { + "visibility": "visible" + }, + "paint": { + "line-color": "rgba(182, 195, 183, 1)", + "line-width": { + "stops": [ + [ + 0, + 0.5 + ], + [ + 7, + 3 + ] + ] + } + } + }, + { + "minzoom": 14, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.5 + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "admin_level", + 8 + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z14", + "paint": { + "text-color": "rgba(34, 34, 34, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "admin_lines" + }, + { + "minzoom": 12, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10, + "text-transform": "uppercase", + "text-letter-spacing": 0.5 + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "featurecla", + "Populated place" + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z12", + "paint": { + "text-color": "rgba(34, 34, 34, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 6, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Regular" + ], + "text-size": 10 + }, + "maxzoom": 12, + "filter": [ + "all", + [ + "==", + "featurecla", + "Populated place" + ] + ], + "type": "symbol", + "source": "osm", + "id": "city_labels_z6", + "paint": { + "text-color": "rgba(34, 34, 34, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 5, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold Italic" + ], + "text-size": { + "stops": [ + [ + 5, + 9 + ], + [ + 10, + 16 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "scalerank", + 2 + ] + ], + "type": "symbol", + "source": "osm", + "id": "state_labels", + "paint": { + "text-color": "rgba(145, 145, 158, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "state_label_points" + }, + { + "minzoom": 10, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 10, + "text-transform": "uppercase" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-1 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "statecapital_labels_z10", + "paint": { + "text-color": "rgba(68, 51, 85, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 4, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 4, + 7 + ], + [ + 10, + 10 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-1 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "statecapital_labels_z4", + "paint": { + "text-color": "rgba(68, 51, 85, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 10, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 11, + "text-transform": "uppercase" + }, + "maxzoom": 20, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-0 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "capital_labels_z10", + "paint": { + "text-color": "rgba(68, 51, 85, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 3, + "layout": { + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 3, + 9 + ], + [ + 10, + 11 + ] + ] + } + }, + "maxzoom": 10, + "filter": [ + "all", + [ + "==", + "featurecla", + "Admin-0 capital" + ] + ], + "type": "symbol", + "source": "osm", + "id": "capital_labels_z3", + "paint": { + "text-color": "rgba(68, 51, 85, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 1 + }, + "source-layer": "populated_places" + }, + { + "minzoom": 3, + "layout": { + "text-field": "{sr_subunit}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": { + "stops": [ + [ + 3, + 11 + ], + [ + 7, + 13 + ] + ] + } + }, + "maxzoom": 7, + "filter": [ + "all", + [ + "==", + "scalerank", + 0 + ] + ], + "type": "symbol", + "source": "osm", + "id": "country_labels", + "paint": { + "text-color": "rgba(68, 51, 85, 1)", + "text-halo-color": "rgba(198, 201, 193, 1)", + "text-halo-width": 1, + "text-halo-blur": 5 + }, + "source-layer": "country_label_points" + }, + { + "minzoom": 0, + "layout": { + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all" + ], + "type": "fill", + "source": "osm", + "id": "building", + "paint": { + "fill-color": "rgba(188, 191, 184, 1)", + "fill-outline-color": "rgba(167, 167, 148, 1)" + }, + "source-layer": "buildings" + }, + { + "minzoom": 16, + "layout": { + "icon-image": "topo_heliport-15", + "icon-size": 1, + "icon-optional": false, + "visibility": "visible" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "helipad" + ] + ], + "type": "symbol", + "source": "osm", + "id": "icon_helipad", + "paint": { + "icon-color": "rgba(0, 0, 0, 1)" + }, + "source-layer": "transport_points" + }, + { + "minzoom": 12, + "layout": { + "icon-image": "topo_airport-15", + "icon-size": 1, + "icon-optional": false, + "visibility": "visible", + "text-field": "{name}", + "text-font": [ + "Open Sans Bold" + ], + "text-size": 10, + "text-offset": [ + 0, + 2 + ] + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "aerodrome" + ] + ], + "type": "symbol", + "source": "osm", + "id": "icon_airport", + "paint": { + "icon-color": "rgba(0, 0, 0, 1)", + "text-color": "rgba(34, 34, 34, 1)", + "text-halo-color": "rgba(255, 255, 255, 1)", + "text-halo-width": 0.5 + }, + "source-layer": "transport_areas" + }, + { + "minzoom": 7, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 7, + 8 + ], + [ + 14, + 9 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shieldslowzoom", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "==", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields_only1", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 100, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields1", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 200, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref2}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields2", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref3}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref3", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields3", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 400, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref4}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref4", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields4", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref5}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref5", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields5", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 600, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref6}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref6", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields6", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 700, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref7}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref7", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields7", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + } + ], + "sprite": "https://go-spatial.github.io/carto-assets/spritesets/osm_tegola_spritesheet", + "glyphs": "https://go-spatial.github.io/carto-assets/fonts/{fontstack}/{range}.pbf", + "created": "2017-01-04T21:12:33.904Z", + "name": "mobility", + "bearing": 0, + "metadata": { + "mapbox:autocomposite": false, + "mapbox:type": "template", + "openmaptiles:version": "3.x", + "maputnik:renderer": "mbgljs", + "inspect": true + }, + "owner": "", + "zoom": 11.5, + "center": [ + 7.1119, + 50.7377 + ], + "version": 8, + "sources": { + "osm": { + "type": "vector", + "url": "https://osm.tegola.io/capabilities/osm.json" + } + }, + "id": "d61c7c5e-729c-4582-8ed7-e4fd1421c5a3" } \ No newline at end of file diff --git a/styles/mobility3d.json b/styles/mobility3d.json index a419a934..fef04ca0 100644 --- a/styles/mobility3d.json +++ b/styles/mobility3d.json @@ -1538,12 +1538,106 @@ "text-halo-width": 0.5 } }, - { - "id": "label_motorway_shield", + { + "minzoom": 7, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 7, + 8 + ], + [ + 14, + 9 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 14, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ] + ], "type": "symbol", "source": "osm", - "source-layer": "transport_lines", - "minzoom": 6, + "id": "roads_14_shieldslowzoom", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, "maxzoom": 24, "filter": [ "all", @@ -1554,22 +1648,95 @@ ], [ "!=", - "ref", + "ref1", + "" + ], + [ + "==", + "ref2", "" ] ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields_only1", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, "layout": { - "text-field": "{ref}", + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 100, "text-font": [ - "Miriam Libre Regular" + "Open Sans Regular" ], + "icon-allow-overlap": false, "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref1}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref1", + "" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields1", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, "text-size": { "stops": [ - [ - 6, - 9 - ], [ 14, 9 @@ -1580,33 +1747,355 @@ ] ] }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 200, + "text-font": [ + "Open Sans Regular" + ], "icon-allow-overlap": false, - "icon-optional": true, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref2}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref2", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields2", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 300, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref3}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref3", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields3", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], "text-ignore-placement": false, + "symbol-spacing": 400, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref4}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref4", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields4", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 500, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref5}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref5", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields5", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, + "icon-text-fit": "width", + "icon-image": "rectangle-6", "icon-rotation-alignment": "viewport", + "icon-text-fit-padding": [ + 0, + 10, + 0, + 10 + ], + "text-ignore-placement": false, + "symbol-spacing": 600, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref6}" + }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref6", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields6", + "paint": { + "text-color": "#333" + }, + "source-layer": "transport_lines" + }, + { + "minzoom": 14, + "layout": { + "text-line-height": 1.2, + "text-size": { + "stops": [ + [ + 14, + 9 + ], + [ + 15, + 10 + ] + ] + }, "icon-text-fit": "width", + "icon-image": "rectangle-6", + "icon-rotation-alignment": "viewport", "icon-text-fit-padding": [ 0, 10, 0, 10 ], - "text-max-width": 1, - "icon-rotate": 0 + "text-ignore-placement": false, + "symbol-spacing": 700, + "text-font": [ + "Open Sans Regular" + ], + "icon-allow-overlap": false, + "symbol-placement": "line", + "visibility": "visible", + "icon-optional": false, + "text-rotation-alignment": "viewport", + "icon-size": 1, + "text-pitch-alignment": "viewport", + "text-field": "{ref7}" }, + "maxzoom": 24, + "filter": [ + "all", + [ + "==", + "type", + "motorway" + ], + [ + "!=", + "ref7", + "" + ] + ], + "type": "symbol", + "source": "osm", + "id": "roads_14_shields7", "paint": { - "text-color": "#333", - "icon-color": "rgba(158, 22, 22, 1)", - "icon-halo-color": "rgba(199, 63, 63, 1)", - "icon-opacity": 1, - "text-translate-anchor": "viewport", - "icon-translate-anchor": "viewport" - } + "text-color": "#333" + }, + "source-layer": "transport_lines" } ], "created": "2017-01-04T21:12:33.904Z",