Fetch glyphs ranges
Important notes:
- Orbis Maps Assets API is currently in public preview.
- This API is powered by the TomTom Orbis Maps.
- See the TomTom Orbis Maps documentation for more information on Orbis Maps.
- See the Orbis Maps Assets API Migration page page for information on how to migrate and use the new Orbis Maps Assets API.
- Use of the Orbis Maps Assets API requires an API Key with access rights to Assets API and, depending on the requested assets, Map Display API and/or Traffic API.
Purpose
- The fetch glyph range endpoint functionality allows users to fetch glyphs for a requested range.
- Returned glyphs are protocol-buffer encoded and adhere to the MapLibre specification.
- The easiest way to identify the URL for fetching of the desired glyph range is by using the listing functionalities as described at: list fonts versions, list fonts and list glyphs ranges.
Request data
HTTPS method: GET
- Constants and parameters enclosed in curly brackets
{
}
must be replaced with their values. - Please see the following Request parameters section with the required and optional parameters tables for their values. The generic request format is as follows.
https://{baseURL}/maps/orbis/assets/fonts/{assetVersion}/{fontName}/{glyphRange}.pbf?key={Your_API_Key}&apiVersion={API_Version}
https://api.tomtom.com/maps/orbis/fonts/0.0.0-0/Noto-Bold/0-255.pbf?key={Your_API_Key}&apiVersion=1
https://api.tomtom.com/maps/orbis/assets/fonts/0.*/Noto-Bold/0-255.pbf?key={Your_API_Key}&apiVersion=1
curl 'https://api.tomtom.com/maps/orbis/assets/fonts/0.0.0-0/Noto-Bold/0-255.pbf?key={Your_API_Key}&apiVersion=1'
curl 'https://api.tomtom.com/maps/orbis/assets/fonts/1.*/Noto-Bold/0-255.pbf?key={Your_API_Key}&apiVersion=1'
Request parameters
The following table describes the parameters that can be used in a request.
- Required parameters must be used or the call will fail.
- Parameters and values are case-sensitive.
- Optional parameters may be used.
Required parameters | Description |
---|---|
| The base URL for calling TomTom services. |
| The chosen version of the asset. |
| The name of the font. |
| The range of the 256 unicode code points to be fetched. |
| The API version of the service to call. |
| An API Key valid for the requested service. |
Request headers
HTTP request headers are common in the Assets API service. For details, see HTTP request headers.
Response data
Successful response
For a single request, the service returns its response body encoded in pbf (protocol buffers) format. Refer to the MapLibre style specification to understand the content.
Response codes
HTTP response codes are common in the Assets API service. See HTTP response codes for details.
Response headers
HTTP response headers are common in the Assets API service. For details, see HTTP response headers.