Migration guide
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.
- 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.
How to find the new endpoint
The Orbis Maps Assets API endpoint for styles is:
get
URL request format
https://{baseURL}/maps/orbis/assets/styles/{version}/style.json?apiVersion=1&key={Your_API_Key}&{param=value}
All style request paths must end in style.json
.
The Orbis Maps Assets API endpoint for sprites is:
get
URL request format
https://{baseURL}/maps/orbis/assets/sprites/{version}/sprite{resolution}.{format}?apiVersion=1&key={Your_API_Key}&{param=value}
All sprite request paths must end in sprite.png
, or sprite.json
, or sprite@2x.png
, or sprite@2x.json
for high resolution sprites.
The Orbis Maps Assets API endpoint for fonts is:
get
URL request format
https://{baseURL}/maps/orbis/assets/fonts/{version}/{fontName}/{glyphRange}.pbf?apiVersion=1&key={Your_API_Key}
Changes in the requests or parameters
- Either the
apiVersion
query parameter or theTomTom-Api-Version
header needs to be present. (e.g.,&apiVersion=1
) - All style and sprite requests must be constructed with the style name(s) in the query parameters. (e.g.,
&map=basic_street-light
) - Style and sprite requests no longer have separate endpoints for Map Styles, Traffic Styles or Merged Styles.
- The
traffic_flow
andtraffic_incidents
style type query parameter keys have been renamed totrafficFlow
andtrafficIncidents
. - The available style types are
map
,trafficFlow
,trafficIncidents
, andhillshade
. - The available sprite types are
map
,trafficFlow
, andtrafficIncidents
. - The style and sprite type
restrictions
is currently not available for Orbis. - The style and sprite type
poi
no longer exists. Poi style features have been integrated into base map styles. - Requests containing any unsupported query parameter keys or values will not be processed.
- The
resourceVariant
parameter, previously used to request variants of resources with different compatibility options, no longer exists.