Other

Other API reference

Scalar API Reference
v1.0
OpenAPI 3.1.0

MapTiler API

Client Libraries

Other

Sprites (icon sets)

Map icons (sprites) used to display the vector map.

Path Parameters
  • spriteId
    Type: string
    required

    Identifier of the sprite.

  • scale
    enum
    const:  
    @2x
    values
    • @2x
  • format
    Type: string enum
    required
    values
    • png
    • json
Responses
Request Example for get/sprites/{spriteId}/sprite{scale}.{format}
curl 'https://api.maptiler.com/sprites/{spriteId}/sprite@2x.png'
No Body

Fonts (glyphs)

Generates the glyphs for the requested fonts. Used when displaying vector maps.

Path Parameters
  • fontstack
    Type: string
    required

    Font name, or more comma-separated names.

  • start
    Type: integer
    multiple of:  
    256
    required

    Start of the glyph range.

  • end
    Type: integer
    required

    End of the glyph range (last glyph index).

Responses
  • application/x-protobuf
  • 400

    Invalid glyph range

Request Example for get/fonts/{fontstack}/{start}-{end}.pbf
curl 'https://api.maptiler.com/fonts/Roboto Medium,Noto Sans Regular/1-255.pbf?key=YOUR_SECRET_TOKEN'
No Body

OGC API conformance classes

Declaration of the implemented conformance classes.

Responses
  • application/json
Request Example for get/ogc/conformance
curl 'https://api.maptiler.com/ogc/conformance?key=YOUR_SECRET_TOKEN'
string
Using the OpenAPI Specification?
Get the openapi.yaml
Was this helpful?
MapTiler API
Other
Other