Other

Font glyphs

Added in v1.0.0
GET http://localhost:3650/api/fonts/{fontstack}/{start}-{end}.pbf

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

Request

Path Parameters

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

  http://localhost:3650/api/fonts/{fontstack}/{start}-{end}.pbf

Responses

Code Content Description
200 application/x-protobuf
400

Invalid glyph range