{
  "version": 8,
  "name": "Pesca en Chile Araucania Color Pro",
  "glyphs": "http://127.0.0.1:8080/fonts/{fontstack}/{range}.pbf",
  "sources": {
    "offline": {
      "type": "vector",
      "tiles": ["http://127.0.0.1:8080/tiles/{z}/{x}/{y}.pbf"],
      "minzoom": 0,
      "maxzoom": 17
    },
    "terrain": {
      "type": "raster-dem",
      "tiles": ["http://127.0.0.1:8080/terrain/{z}/{x}/{y}.png"],
      "tileSize": 256,
      "encoding": "mapbox",
      "maxzoom": 17
    },
    "hillshade": {
      "type": "raster",
      "tiles": ["http://127.0.0.1:8080/hillshade/{z}/{x}/{y}.png"],
      "tileSize": 256,
      "maxzoom": 17
    }
  },
  "terrain": {
    "source": "terrain",
    "exaggeration": 3.0
  },
  "layers": [
    {
      "id": "background-natural-base",
      "type": "background",
      "paint": {
        "background-color": "#D9E3CC"
      }
    },
    {
      "id": "hillshade-relief",
      "type": "raster",
      "source": "hillshade",
      "paint": {
        "raster-opacity": ["interpolate", ["linear"], ["zoom"], 5, 0.10, 10, 0.13, 14, 0.16, 17, 0.18],
        "raster-contrast": 0.12,
        "raster-saturation": -0.55,
        "raster-brightness-min": 0.25,
        "raster-brightness-max": 0.95
      }
    },
    {
      "id": "landcover",
      "type": "fill",
      "source": "offline",
      "source-layer": "landcover",
      "paint": {
        "fill-color": [
          "match",
          ["get", "class"],
          "forest", "#3F6B37",
          "wood", "#456F3B",
          "grass", "#A9C98A",
          "scrub", "#8FA86F",
          "wetland", "#7EA68E",
          "sand", "#D9C47F",
          "bare", "#B7A889",
          "rock", "#928A7C",
          "bare_rock", "#857D72",
          "snow", "#EFF4F4",
          "ice", "#E4EEF1",
          "#C9D8B8"
        ],
        "fill-opacity": 0.72
      }
    },
    {
      "id": "landcover-forest-strong",
      "type": "fill",
      "source": "offline",
      "source-layer": "landcover",
      "filter": ["any", ["==", ["get", "class"], "forest"], ["==", ["get", "class"], "wood"]],
      "paint": {
        "fill-color": "#2F5C2B",
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 6, 0.55, 11, 0.68, 14, 0.76, 17, 0.78]
      }
    },
    {
      "id": "landcover-beach-sand",
      "type": "fill",
      "source": "offline",
      "source-layer": "landcover",
      "filter": ["any", ["==", ["get", "class"], "sand"], ["==", ["get", "subclass"], "sand"], ["==", ["get", "subclass"], "beach"]],
      "paint": {
        "fill-color": "#DCC778",
        "fill-opacity": 0.88
      }
    },
    {
      "id": "landcover-wetland",
      "type": "fill",
      "source": "offline",
      "source-layer": "landcover",
      "filter": ["any", ["==", ["get", "class"], "wetland"], ["==", ["get", "subclass"], "wetland"]],
      "paint": {
        "fill-color": "#6F9F8D",
        "fill-opacity": 0.75
      }
    },
    {
      "id": "landcover-rock-bare",
      "type": "fill",
      "source": "offline",
      "source-layer": "landcover",
      "filter": ["any", ["==", ["get", "class"], "rock"], ["==", ["get", "class"], "bare"], ["==", ["get", "class"], "bare_rock"]],
      "paint": {
        "fill-color": "#9A907F",
        "fill-opacity": 0.72
      }
    },
    {
      "id": "landuse-base",
      "type": "fill",
      "source": "offline",
      "source-layer": "landuse",
      "paint": {
        "fill-color": [
          "match",
          ["get", "class"],
          "residential", "#E7E2D6",
          "commercial", "#E8DDD0",
          "retail", "#E8DDD0",
          "industrial", "#D7D0C4",
          "school", "#E4E8CF",
          "hospital", "#E8D5D5",
          "farmland", "#D2D49F",
          "farm", "#D2D49F",
          "meadow", "#BCD49A",
          "orchard", "#ABC98A",
          "park", "#99CE77",
          "#DCE6CF"
        ],
        "fill-opacity": ["interpolate", ["linear"], ["zoom"], 6, 0.35, 11, 0.52, 14, 0.68, 17, 0.72]
      }
    },
    {
      "id": "parks-clear-green",
      "type": "fill",
      "source": "offline",
      "source-layer": "park",
      "paint": {
        "fill-color": "#8FCC67",
        "fill-opacity": 0.68
      }
    },
    {
      "id": "water-shadow",
      "type": "fill",
      "source": "offline",
      "source-layer": "water",
      "paint": {
        "fill-color": "#126D9A",
        "fill-opacity": 0.28,
        "fill-translate": [1.2, 1.2]
      }
    },
    {
      "id": "water-main",
      "type": "fill",
      "source": "offline",
      "source-layer": "water",
      "paint": {
        "fill-color": "#249DD3",
        "fill-opacity": 0.98
      }
    },
    {
      "id": "water-soft-light",
      "type": "fill",
      "source": "offline",
      "source-layer": "water",
      "minzoom": 9,
      "paint": {
        "fill-color": "#74C9EA",
        "fill-opacity": 0.16
      }
    },
    {
      "id": "waterway-shadow",
      "type": "line",
      "source": "offline",
      "source-layer": "waterway",
      "paint": {
        "line-color": "#0879A9",
        "line-width": ["interpolate", ["linear"], ["zoom"], 8, 1.2, 12, 3.2, 14, 5.8, 16, 8, 17, 9],
        "line-opacity": 0.36,
        "line-translate": [0.8, 0.8]
      }
    },
    {
      "id": "waterway-main",
      "type": "line",
      "source": "offline",
      "source-layer": "waterway",
      "paint": {
        "line-color": "#109BD3",
        "line-width": ["interpolate", ["linear"], ["zoom"], 8, 0.8, 12, 2.2, 14, 4.8, 16, 6.8, 17, 7.6],
        "line-opacity": 0.96
      }
    },
    {
      "id": "roads-casing",
      "type": "line",
      "source": "offline",
      "source-layer": "transportation",
      "paint": {
        "line-color": "#777770",
        "line-width": ["interpolate", ["linear"], ["zoom"], 6, 1.2, 10, 2.4, 14, 6.2, 16, 9, 17, 10.5],
        "line-opacity": 0.62
      }
    },
    {
      "id": "roads-main",
      "type": "line",
      "source": "offline",
      "source-layer": "transportation",
      "paint": {
        "line-color": [
          "match",
          ["get", "class"],
          "motorway", "#F2D16B",
          "trunk", "#F2D16B",
          "primary", "#F4D978",
          "secondary", "#F4E2A0",
          "tertiary", "#F5EBC8",
          "minor", "#F4F1EA",
          "service", "#E8E4DB",
          "path", "#C9B28A",
          "track", "#BFA77E",
          "#F2F0E8"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 6, 0.8, 10, 1.8, 14, 4.4, 16, 6.8, 17, 8.2],
        "line-opacity": 0.98
      }
    },
    {
      "id": "roads-highlight",
      "type": "line",
      "source": "offline",
      "source-layer": "transportation",
      "minzoom": 11,
      "paint": {
        "line-color": "#FFFFFF",
        "line-width": ["interpolate", ["linear"], ["zoom"], 11, 0.3, 14, 1.1, 16, 1.9, 17, 2.4],
        "line-opacity": 0.62
      }
    },
    {
      "id": "buildings-flat",
      "type": "fill",
      "source": "offline",
      "source-layer": "building",
      "minzoom": 13,
      "paint": {
        "fill-color": "#BFA98E",
        "fill-opacity": 0.78
      }
    },
    {
      "id": "buildings-3d",
      "type": "fill-extrusion",
      "source": "offline",
      "source-layer": "building",
      "minzoom": 14,
      "paint": {
        "fill-extrusion-color": "#B89D7E",
        "fill-extrusion-height": ["*", ["coalesce", ["get", "render_height"], 10], 1.12],
        "fill-extrusion-base": ["coalesce", ["get", "render_min_height"], 0],
        "fill-extrusion-opacity": 0.86
      }
    },
    {
      "id": "road-names",
      "type": "symbol",
      "source": "offline",
      "source-layer": "transportation_name",
      "minzoom": 12,
      "layout": {
        "symbol-placement": "line",
        "text-field": ["coalesce", ["get", "name:es"], ["get", "name"], ["get", "name:latin"], ["get", "ref"]],
        "text-font": ["Noto Sans Regular"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 12, 10, 14, 13, 16, 16, 17, 18],
        "text-rotation-alignment": "map",
        "text-pitch-alignment": "map",
        "text-keep-upright": true
      },
      "paint": {
        "text-color": "#252521",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 2.1,
        "text-halo-blur": 0.35
      }
    },
    {
      "id": "water-names",
      "type": "symbol",
      "source": "offline",
      "source-layer": "water_name",
      "minzoom": 9,
      "layout": {
        "text-field": ["coalesce", ["get", "name:es"], ["get", "name"], ["get", "name:latin"]],
        "text-font": ["Noto Sans Italic"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 9, 11, 14, 15, 17, 17]
      },
      "paint": {
        "text-color": "#075A82",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 1.8,
        "text-halo-blur": 0.25
      }
    },
    {
      "id": "place-names",
      "type": "symbol",
      "source": "offline",
      "source-layer": "place",
      "minzoom": 5,
      "layout": {
        "text-field": ["coalesce", ["get", "name:es"], ["get", "name"], ["get", "name:latin"]],
        "text-font": ["Noto Sans Bold"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 5, 12, 10, 17, 14, 24, 17, 28],
        "text-pitch-alignment": "map",
        "text-rotation-alignment": "map"
      },
      "paint": {
        "text-color": "#172215",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 3,
        "text-halo-blur": 0.45
      }
    },
    {
      "id": "poi-names",
      "type": "symbol",
      "source": "offline",
      "source-layer": "poi",
      "minzoom": 14,
      "layout": {
        "text-field": ["coalesce", ["get", "name:es"], ["get", "name"], ["get", "name:latin"]],
        "text-font": ["Noto Sans Regular"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 14, 12, 17, 15]
      },
      "paint": {
        "text-color": "#2B2B2B",
        "text-halo-color": "#FFFFFF",
        "text-halo-width": 1.6
      }
    }
  ]
}