Migration guide
Important notes:
- This TomTom Orbis API is in public preview.
- This API is powered by the TomTom Orbis Maps.
- See the TomTom Orbis Maps documentation for more information.
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
apiVersionquery parameter or theTomTom-Api-Versionheader 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_flowandtraffic_incidentsstyle type query parameter keys have been renamed totrafficFlowandtrafficIncidents. - The available style types are
map,trafficFlow,trafficIncidents, andhillshade. - The available sprite types are
map,trafficFlow, andtrafficIncidents. - The style and sprite type
restrictionsis currently not available for Orbis. - The style and sprite type
poino 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
resourceVariantparameter, previously used to request variants of resources with different compatibility options, no longer exists.