Other

Font glyphs

GET https://api.maptiler.com/fonts/{fontstack}/{start}-{end}.pbf

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

Request

You must include an API Key with every API request

Path Parameters

Parameters Type Description
fontstack
string
Font name, or more comma-separated names.
start
integer
Start of the glyph range.
Multiple of: 256
end
integer
End of the glyph range (last glyph index).
Request example

  https://api.maptiler.com/fonts/{fontstack}/{start}-{end}.pbf?key=YOUR_MAPTILER_API_KEY

Get your FREE API key in the MapTiler Cloud.

Responses

Code Content Description
200 application/x-protobuf
400 Invalid glyph range