AirHub API
  1. Map Vector Tiles - NEW
AirHub API
  • Introduction
  • Authorization
    • Overview
    • Get Oauth Token
      POST
  • Advisories
    • Advisory
      POST
    • Get Advisories BBox
      GET
    • Get Advisories GeoJSON
      POST
  • Briefing
    • Overview
    • B4UFLY
      • What Is B4UFLY
      • The API Basics
      • Location vs Area
      • v1
        • B4UFLY Briefing by Area v1
        • B4UFLY Briefing by Location v1
      • v2
        • What's New in v2
        • B4UFLY Briefing by Area v2
        • B4UFLY Briefing by Location v2
  • LAANC SDSP
    • Overview
    • ASL Operations
      • List Operations
      • Create Operation
      • Get Operation
      • Delete Operation
      • Update Operation
    • LAANC Operations
      • Get Operation
      • Delete Operation
      • Create Operation
      • Update Operation
    • LAANC Authorizations
      • Rescinded and Invalid Operations
      • Submit Authorization
      • Get Authorization
      • Cancel Authorization
      • Cancel Invalid Authorization
      • Close Authorization
      • Acknowledge Rescinded Authorization
    • Operation v2
      POST
    • Create Ephemeral Operations
      POST
  • Risk
    • Get Hazard
      POST
    • Get Hazard Ground Type
      POST
    • Get Hazard Ground Risk
      POST
  • Aviation
    • Aviation
      POST
  • Surface
    • Overview
    • Suitability
      POST
    • Classification Surface
      POST
    • Surface v2 GeoJSON
      POST
    • Surface v2 Hexbin
      POST
  • Route
    • Route v2
  • Check
    • Check Airspace
    • Get Status
  • Elevation - NEW
    • Get List
  • Map Vector Tiles - NEW
    • Overview
    • Styled Tiles
      GET
    • Vector Tile
      GET
  • Flight
    • Get Flight Last Position QUERY
    • Get Flight Last Position INFO
  • Data Notification Subscribers
    • Get List
  1. Map Vector Tiles - NEW

Styled Tiles

Sandbox
https://airhub-api-sandbox.airspacelink.com
Sandbox
https://airhub-api-sandbox.airspacelink.com
GET
/styles/{style}/style.json
Last modified:2024-09-19 09:49:50
The 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

Path Params

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://airhub-api-sandbox.airspacelink.com/styles//style.json?key='

Responses

🟢200OK
application/json
Body

Example
{
    "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
        }
    ]
}
Modified at 2024-09-19 09:49:50
Previous
Overview
Next
Vector Tile
Built with