Skip to content

Maps

Estimated reading time : 1 minutes

WMTS

If you want to share a preview of your map, use this endpoint.

https://basemaps.tabaqat.net/styles/your-style-id/wmts.xml?access_token=your-tabaqat-access-token
  • style ID: your style ID or one of our default styles or your custom style from the platform.
  • authentication token: create your access token on the Keys page.
  • preview type (optional): choose your preview in raster or vector. Valid values are raster, vector.

XYZ

The Maps API allows you to retrieve vector or raster tiles generated by the lab. You can use some libraries like Leaflet or MapLibre GL for JavaScript, Android or iOS to add a map to your website.

Endpoint to use

If you need tile URL, you should use this endpoint. We are supporting both raster png and vector pbf tiles.

https://basemaps.tabaqat.net/styles/your-style-id.json/{z}/{x}/{y}.png?access_token=your-tabaqat-access-token
  • style ID: choose your style ID from one of our styles:

    1. basic-arabic-ksa-boundary
    2. bright-arabic-ksa-boundary
    3. dark-matter-arabic-ksa-boundary
    4. basic-arabic-ksa-buildings
    5. bright-arabic-ksa-boundary-secondary
    6. outdoor
    7. bright
  • authentication token: create your access token on the platform.

Vector Tiles (Style GL)

If you want your style as json for MapLibre GL you will need this endpoint:

https://basemaps.tabaqat.net/styles/your-style-id.json?access_token=your-tabaqat-access-token
  • style ID: your style ID or one of our default styles or your custom style from the platform.
  • authentication token: create your access token on the platform.

tabaqat default styles

We have some default styles which can be used by anyone with an access token. Here is our list :

Basic Arabic KSA Boundary

basic-arabic-ksa-boundary

Bright Arabic KSA Boundary

bright-arabic-ksa-boundary

Dark Matter Arabic KSA Boundary

dark-matter-arabic-ksa-boundary

Basic Arabic KSA Buildings

basic-arabic-ksa-buildings

Outdoor

Style ID : outdoor

Bright

Style ID : bright

Bright Arabic KSA Boundary Secondary

bright-arabic-ksa-boundary-secondary