Styled Tiles
GET
/styles/{style}/style.jsonThe pre-styled endpoint returns JSON definition language for the visualization of vector tile layers. We use style definitions specified by MapLibre. You may also reference our style as a starting point and override where you see fit.
Request
Unique alphanumeric key.
Request samples
Responses
Style specification version number. Must be 8.
A human-readable name for the style.
Sprite URL
A URL template for loading signed-distance-field glyph sets in PBF format.
Describe data to display in the map.
Unique source name. {source}
is just a placeholder.
Lists all the layers available in that style.
Layer ID
Type of layer
Name of a source description to be used for this layer. Required for all layer types except background
.
Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources.
A expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The feature-state expression is not supported in filter expressions.
Layout properties for the layer. See https://maplibre.org/maplibre-style-spec/layers/#layout for more details.
Default paint properties for this layer. See https://maplibre.org/maplibre-style-spec/layers/#paint for more details.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
{
"version": 8,
"name": "FAA",
"sprite": "https://tiles.airspacelink.com/styles/faa-dark/sprite/sprite",
"glyphs": "https://tiles.airspacelink.com/fonts/{fontstack}/{range}.pbf",
"sources": {
"faa": {
"type": "vector",
"tiles": [
"https://tiles.airspacelink.com/tile/service=faa/faa/{z}/{x}/{y}.mvt"
],
"minzoom": 0,
"maxzoom": 14,
"bounds": [
-180,
-85.0511,
180,
85.0511
]
}
},
"layers": [
{
"id": "Airspace/Controlled Airspace Boundary/Grid Ceiling Height/!50 Grid Ceiling Height/0",
"type": "line",
"source": "faa",
"source-layer": "uas_facility_mapfgb",
"filter": [
"all",
[
"==",
"laanc_status",
"50 Grid Ceiling Height"
]
],
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-opacity": 0.82,
"line-color": "rgba(11,165,233,0.9)",
"line-width": 0.666667
},
"minzoom": 11,
"maxzoom": 23
}
]
}