Maps SDK for Web

tt.services.copyrightsCaption

The copyright caption service implementation provides a caption that is supposed to be displayed on a link that provides the full copyright notice. The response is not changed often.

This service is supposed to be called once when user has the map displayed for the first time.

The response from the service is an object containing "copyrightsCaption". eg.

{
  "formatVersion": "0.0.1",
  "copyrightsCaption": "© 1992 - 2020 TomTom."
}

This text ("© 1992 - 2020 TomTom.") has to be displayed as a copyrights prompt when using TomTom services. The caption should be clickable. User should be presented with the full copyrights notice when the caption is clicked. Full copyright notice can be retrieved from the Copyrights service.

Constructor

tt.services.copyrightsCaption([options])

Example
tt.services.copyrightsCaption({
  key: <Your API key>
 }).then(function(response) {
  console.log(response);
});
Parameters
Name Description
options
Object
default:None
options.key
String
default:None
A valid API Key for the requested service.
Key is required to make use of the given service. It can be issued in the Developer Portal.
options.protocol
"http" | "https"
default:"https"
The protocol type to be used in the calls.
Represents the type of protocol used to perform a service call.