{
 "version": 8,
 "sources": {
  "openmaptiles": {
   "type": "vector",
   "tiles": [
    "map/tiles-20261101/{z}/{x}/{y}.pbf"
   ],
   "minzoom": 0,
   "maxzoom": 14,
   "bounds": [
    -4.58,
    39.88,
    -3.05,
    41.17
   ],
   "attribution": "© OpenMapTiles © OpenStreetMap"
  }
 },
 "glyphs": "map/fonts/{fontstack}/{range}.pbf",
 "layers": [
  {
   "id": "background",
   "type": "background",
   "paint": {
    "background-color": "#ebe7e0"
   }
  },
  {
   "id": "park",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "park",
   "filter": [
    "match",
    [
     "geometry-type"
    ],
    [
     "MultiPolygon",
     "Polygon"
    ],
    true,
    false
   ],
   "paint": {
    "fill-color": "#dfe2d2"
   }
  },
  {
   "id": "water",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "water",
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "MultiPolygon",
      "Polygon"
     ],
     true,
     false
    ],
    [
     "!=",
     [
      "get",
      "brunnel"
     ],
     "tunnel"
    ]
   ],
   "paint": {
    "fill-antialias": true,
    "fill-color": "#c9d6da"
   }
  },
  {
   "id": "landcover_ice_shelf",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "landcover",
   "maxzoom": 8,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "MultiPolygon",
      "Polygon"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "subclass"
     ],
     "ice_shelf"
    ]
   ],
   "paint": {
    "fill-color": "hsl(0,0%,98%)",
    "fill-opacity": 0.7
   }
  },
  {
   "id": "landcover_glacier",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "landcover",
   "maxzoom": 8,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "MultiPolygon",
      "Polygon"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "subclass"
     ],
     "glacier"
    ]
   ],
   "paint": {
    "fill-color": "hsl(0,0%,98%)",
    "fill-opacity": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     0,
     1,
     8,
     0.5
    ]
   }
  },
  {
   "id": "landcover_wood",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "landcover",
   "minzoom": 10,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "MultiPolygon",
      "Polygon"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "class"
     ],
     "wood"
    ]
   ],
   "paint": {
    "fill-color": "#dfe2d2"
   }
  },
  {
   "id": "waterway",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "waterway",
   "filter": [
    "match",
    [
     "geometry-type"
    ],
    [
     "LineString",
     "MultiLineString"
    ],
    true,
    false
   ],
   "paint": {
    "line-color": "#c9d6da"
   }
  },
  {
   "id": "building",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "building",
   "minzoom": 14,
   "paint": {
    "fill-color": "#e2ddd3",
    "fill-opacity": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     14,
     0,
     15.5,
     1
    ]
   }
  },
  {
   "id": "pedestrian_area",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 13,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "MultiPolygon",
      "Polygon"
     ],
     true,
     false
    ],
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "path",
      "minor",
      "service"
     ],
     true,
     false
    ]
   ],
   "paint": {
    "fill-color": "#faf8f4"
   }
  },
  {
   "id": "highway_pedestrian",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 13,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "class"
     ],
     "path"
    ],
    [
     "match",
     [
      "get",
      "subclass"
     ],
     [
      "pedestrian",
      "living_street"
     ],
     true,
     false
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#faf8f4",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.55
     ],
     [
      "zoom"
     ],
     13,
     1,
     16,
     3.6,
     20,
     18
    ]
   }
  },
  {
   "id": "highway_footway",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 15.5,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "class"
     ],
     "path"
    ],
    [
     "match",
     [
      "get",
      "subclass"
     ],
     [
      "footway",
      "steps"
     ],
     true,
     false
    ],
    [
     "!=",
     [
      "get",
      "brunnel"
     ],
     "tunnel"
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#faf8f4",
    "line-opacity": 0.8,
    "line-width": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     15.5,
     0.8,
     18,
     2.4
    ]
   }
  },
  {
   "id": "tunnel_motorway_casing",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "all",
     [
      "==",
      [
       "get",
       "brunnel"
      ],
      "tunnel"
     ],
     [
      "==",
      [
       "get",
       "class"
      ],
      "motorway"
     ]
    ]
   ],
   "layout": {
    "line-cap": "butt",
    "line-join": "miter"
   },
   "paint": {
    "line-color": "rgb(213, 213, 213)",
    "line-opacity": 0,
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     5.8,
     0,
     6,
     3,
     20,
     40
    ]
   }
  },
  {
   "id": "tunnel_motorway_inner",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "all",
     [
      "==",
      [
       "get",
       "brunnel"
      ],
      "tunnel"
     ],
     [
      "==",
      [
       "get",
       "class"
      ],
      "motorway"
     ]
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     4,
     2,
     6,
     1.3,
     20,
     30
    ]
   }
  },
  {
   "id": "road_area_pier",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "MultiPolygon",
      "Polygon"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "class"
     ],
     "pier"
    ]
   ],
   "paint": {
    "fill-antialias": true,
    "fill-color": "#fbf9f5"
   }
  },
  {
   "id": "road_pier",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "pier"
     ],
     true,
     false
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.2
     ],
     [
      "zoom"
     ],
     15,
     1,
     17,
     4
    ]
   }
  },
  {
   "id": "highway_minor",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 8,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "minor",
      "service",
      "track"
     ],
     true,
     false
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#faf8f4",
    "line-opacity": 1,
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.55
     ],
     [
      "zoom"
     ],
     13,
     1,
     16,
     3.6,
     20,
     18
    ]
   }
  },
  {
   "id": "highway_major_casing",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 11,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "primary",
      "secondary",
      "tertiary",
      "trunk"
     ],
     true,
     false
    ]
   ],
   "layout": {
    "line-cap": "butt",
    "line-join": "miter"
   },
   "paint": {
    "line-color": "#d3d0c9",
    "line-dasharray": [
     12,
     0
    ],
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.3
     ],
     [
      "zoom"
     ],
     10,
     3,
     16,
     10,
     20,
     30
    ],
    "line-opacity": 0
   }
  },
  {
   "id": "highway_major_inner",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 11,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "primary",
      "secondary",
      "tertiary",
      "trunk"
     ],
     true,
     false
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.3
     ],
     [
      "zoom"
     ],
     10,
     1.5,
     16,
     6.5,
     20,
     24
    ]
   }
  },
  {
   "id": "highway_major_subtle",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "maxzoom": 11,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "primary",
      "secondary",
      "tertiary",
      "trunk"
     ],
     true,
     false
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": 2
   }
  },
  {
   "id": "highway_motorway_casing",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "all",
     [
      "match",
      [
       "get",
       "brunnel"
      ],
      [
       "bridge",
       "tunnel"
      ],
      false,
      true
     ],
     [
      "==",
      [
       "get",
       "class"
      ],
      "motorway"
     ]
    ]
   ],
   "layout": {
    "line-cap": "butt",
    "line-join": "miter"
   },
   "paint": {
    "line-color": "#d3d0c9",
    "line-dasharray": [
     2,
     0
    ],
    "line-opacity": 0,
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     5.8,
     0,
     6,
     3,
     20,
     40
    ]
   }
  },
  {
   "id": "highway_motorway_inner",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "all",
     [
      "match",
      [
       "get",
       "brunnel"
      ],
      [
       "bridge",
       "tunnel"
      ],
      false,
      true
     ],
     [
      "==",
      [
       "get",
       "class"
      ],
      "motorway"
     ]
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     4,
     2,
     6,
     1.3,
     20,
     30
    ]
   }
  },
  {
   "id": "highway_motorway_subtle",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "maxzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "==",
     [
      "get",
      "class"
     ],
     "motorway"
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     4,
     2,
     6,
     1.3
    ]
   }
  },
  {
   "id": "highway_motorway_bridge_casing",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "all",
     [
      "==",
      [
       "get",
       "brunnel"
      ],
      "bridge"
     ],
     [
      "==",
      [
       "get",
       "class"
      ],
      "motorway"
     ]
    ]
   ],
   "layout": {
    "line-cap": "butt",
    "line-join": "miter"
   },
   "paint": {
    "line-color": "#d3d0c9",
    "line-dasharray": [
     2,
     0
    ],
    "line-opacity": 0,
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     5.8,
     0,
     6,
     5,
     20,
     45
    ]
   }
  },
  {
   "id": "highway_motorway_bridge_inner",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "minzoom": 6,
   "filter": [
    "all",
    [
     "match",
     [
      "geometry-type"
     ],
     [
      "LineString",
      "MultiLineString"
     ],
     true,
     false
    ],
    [
     "all",
     [
      "==",
      [
       "get",
       "brunnel"
      ],
      "bridge"
     ],
     [
      "==",
      [
       "get",
       "class"
      ],
      "motorway"
     ]
    ]
   ],
   "layout": {
    "line-cap": "round",
    "line-join": "round"
   },
   "paint": {
    "line-color": "#fdfcfa",
    "line-width": [
     "interpolate",
     [
      "exponential",
      1.4
     ],
     [
      "zoom"
     ],
     4,
     2,
     6,
     1.3,
     20,
     30
    ]
   }
  },
  {
   "id": "highway-name-major",
   "type": "symbol",
   "source": "openmaptiles",
   "source-layer": "transportation_name",
   "minzoom": 12,
   "filter": [
    "all",
    [
     "match",
     [
      "get",
      "class"
     ],
     [
      "primary",
      "secondary"
     ],
     true,
     false
    ],
    [
     "!=",
     [
      "get",
      "brunnel"
     ],
     "tunnel"
    ]
   ],
   "layout": {
    "symbol-placement": "line",
    "text-field": [
     "get",
     "name"
    ],
    "text-font": [
     "Noto Sans Regular"
    ],
    "text-rotation-alignment": "map",
    "text-size": 10.5
   },
   "paint": {
    "text-color": "#9a948a",
    "text-halo-blur": 0,
    "text-halo-width": 1.2,
    "text-halo-color": "#ebe7e0"
   }
  },
  {
   "id": "highway-name-minor",
   "type": "symbol",
   "source": "openmaptiles",
   "source-layer": "transportation_name",
   "minzoom": 15.2,
   "filter": [
    "all",
    [
     "any",
     [
      "match",
      [
       "get",
       "class"
      ],
      [
       "tertiary",
       "minor"
      ],
      true,
      false
     ],
     [
      "all",
      [
       "==",
       [
        "get",
        "class"
       ],
       "path"
      ],
      [
       "==",
       [
        "get",
        "subclass"
       ],
       "pedestrian"
      ]
     ]
    ],
    [
     "!=",
     [
      "get",
      "brunnel"
     ],
     "tunnel"
    ]
   ],
   "layout": {
    "symbol-placement": "line",
    "text-field": [
     "get",
     "name"
    ],
    "text-font": [
     "Noto Sans Regular"
    ],
    "text-rotation-alignment": "map",
    "text-size": 10
   },
   "paint": {
    "text-color": "#9a948a",
    "text-halo-blur": 0,
    "text-halo-width": 1.2,
    "text-halo-color": "#ebe7e0"
   }
  },
  {
   "id": "label_other",
   "type": "symbol",
   "source": "openmaptiles",
   "source-layer": "place",
   "minzoom": 8,
   "filter": [
    "match",
    [
     "get",
     "class"
    ],
    [
     "neighbourhood",
     "suburb",
     "quarter"
    ],
    true,
    false
   ],
   "layout": {
    "text-field": [
     "get",
     "name"
    ],
    "text-font": [
     "Noto Sans Regular"
    ],
    "text-letter-spacing": 0.28,
    "text-max-width": 9,
    "text-size": 10,
    "text-transform": "uppercase"
   },
   "paint": {
    "text-color": "#aaa397",
    "text-halo-blur": 1,
    "text-halo-color": "#ebe7e0",
    "text-halo-width": 1.5
   }
  },
  {
   "id": "place_town",
   "type": "symbol",
   "source": "openmaptiles",
   "source-layer": "place",
   "minzoom": 8,
   "maxzoom": 15,
   "filter": [
    "match",
    [
     "get",
     "class"
    ],
    [
     "city",
     "town",
     "village"
    ],
    true,
    false
   ],
   "layout": {
    "text-field": [
     "coalesce",
     [
      "get",
      "name:es"
     ],
     [
      "get",
      "name"
     ]
    ],
    "text-font": [
     "Noto Sans Regular"
    ],
    "text-max-width": 8,
    "text-size": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     8,
     [
      "match",
      [
       "get",
       "class"
      ],
      "city",
      14,
      "town",
      11,
      9.5
     ],
     13,
     [
      "match",
      [
       "get",
       "class"
      ],
      "city",
      16,
      "town",
      13.5,
      12
     ]
    ],
    "symbol-sort-key": [
     "match",
     [
      "get",
      "class"
     ],
     "city",
     0,
     "town",
     1,
     2
    ]
   },
   "paint": {
    "text-color": "#6f695f",
    "text-halo-color": "#ebe7e0",
    "text-halo-width": 1.5,
    "text-halo-blur": 0.5,
    "text-opacity": [
     "step",
     [
      "zoom"
     ],
     [
      "match",
      [
       "get",
       "class"
      ],
      "village",
      0,
      1
     ],
     10,
     1
    ]
   }
  }
 ],
 "name": "Ropa Madrid claro"
}