{
 "version": 8,
 "name": "Rova OpenFreeMap street reference",
 "metadata": {
  "rova-purpose": "Pinned, legible local style contract for Lower Manhattan maps",
  "source": "OpenFreeMap OpenMapTiles vector service"
 },
 "sources": {
  "openmaptiles": {
   "type": "vector",
   "tiles": [
    "/assets/maps/tiles/{z}/{x}/{y}.pbf"
   ],
   "minzoom": 10,
   "maxzoom": 14,
   "attribution": "Map data (c) OpenStreetMap contributors",
   "bounds": [
    -87.9674607,
    42.9913818,
    -87.8682693,
    43.1001121
   ]
  }
 },
 "glyphs": "/assets/maps/fonts/{fontstack}/{range}.pbf",
 "layers": [
  {
   "id": "background",
   "type": "background",
   "paint": {
    "background-color": "#ffffff"
   }
  },
  {
   "id": "water",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "water",
   "paint": {
    "fill-color": "#ffffff"
   }
  },
  {
   "id": "parks",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "park",
   "paint": {
    "fill-color": "rgba(0,0,0,0.035)",
    "fill-outline-color": "rgba(0,0,0,0.1)"
   }
  },
  {
   "id": "landcover-green",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "landcover",
   "filter": [
    "in",
    [
     "get",
     "class"
    ],
    [
     "literal",
     [
      "grass",
      "wood"
     ]
    ]
   ],
   "paint": {
    "fill-color": "#ffffff"
   }
  },
  {
   "id": "water-outline",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "water",
   "filter": [
    "in",
    [
     "get",
     "class"
    ],
    [
     "literal",
     [
      "ocean",
      "river",
      "lake",
      "dock",
      "canal"
     ]
    ]
   ],
   "paint": {
    "line-color": "#000000",
    "line-width": 1.5
   }
  },
  {
   "id": "buildings",
   "type": "fill",
   "source": "openmaptiles",
   "source-layer": "building",
   "minzoom": 13,
   "paint": {
    "fill-color": "#000000",
    "fill-outline-color": "#ffffff",
    "fill-opacity": 0.045
   }
  },
  {
   "id": "road-casing",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "filter": [
    "in",
    [
     "get",
     "class"
    ],
    [
     "literal",
     [
      "motorway",
      "trunk",
      "primary",
      "secondary",
      "tertiary",
      "minor",
      "service"
     ]
    ]
   ],
   "paint": {
    "line-color": "#000000",
    "line-width": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     10,
     0.8,
     14,
     3.8,
     17,
     9
    ]
   }
  },
  {
   "id": "roads",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "filter": [
    "in",
    [
     "get",
     "class"
    ],
    [
     "literal",
     [
      "motorway",
      "trunk",
      "primary",
      "secondary",
      "tertiary",
      "minor",
      "service"
     ]
    ]
   ],
   "paint": {
    "line-color": "#ffffff",
    "line-width": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     10,
     0.4,
     14,
     2.5,
     17,
     7
    ]
   }
  },
  {
   "id": "rail",
   "type": "line",
   "source": "openmaptiles",
   "source-layer": "transportation",
   "filter": [
    "==",
    [
     "get",
     "class"
    ],
    "rail"
   ],
   "paint": {
    "line-color": "#000000",
    "line-opacity": 0.22,
    "line-width": 1,
    "line-dasharray": [
     2,
     2
    ]
   }
  },
  {
   "id": "street-labels",
   "type": "symbol",
   "source": "openmaptiles",
   "source-layer": "transportation_name",
   "minzoom": 12,
   "layout": {
    "symbol-placement": "line",
    "text-field": [
     "coalesce",
     [
      "get",
      "name:en"
     ],
     [
      "get",
      "name"
     ]
    ],
    "text-font": [
     "Noto Sans Regular"
    ],
    "text-size": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     12,
     9.5,
     14,
     11.5,
     17,
     13
    ],
    "text-letter-spacing": 0.02,
    "text-max-angle": 40,
    "text-padding": 4
   },
   "paint": {
    "text-color": "#000000",
    "text-halo-color": "#ffffff",
    "text-halo-width": 1.5
   }
  },
  {
   "id": "place-labels",
   "type": "symbol",
   "source": "openmaptiles",
   "source-layer": "place",
   "filter": [
    "in",
    [
     "get",
     "class"
    ],
    [
     "literal",
     [
      "city",
      "town",
      "suburb",
      "quarter",
      "neighbourhood"
     ]
    ]
   ],
   "layout": {
    "text-field": [
     "coalesce",
     [
      "get",
      "name:en"
     ],
     [
      "get",
      "name"
     ]
    ],
    "text-font": [
     "Noto Sans Bold"
    ],
    "text-size": [
     "interpolate",
     [
      "linear"
     ],
     [
      "zoom"
     ],
     10,
     11,
     15,
     14
    ],
    "text-letter-spacing": 0.08,
    "text-transform": "uppercase",
    "text-padding": 8
   },
   "paint": {
    "text-color": "#000000",
    "text-halo-color": "#ffffff",
    "text-halo-width": 2
   }
  }
 ]
}