Create platform client settings

You need to create the OlpClientSettings object to publish data and get catalog and partition metadata, as well as layer data from the HERE platform.

To create the OlpClientSettings object:

  1. Authenticate to the HERE platform.

  2. Import the OlpClientSettings class from the olp-sdk-core module.

    import { OlpClientSettings } from "@here/olp-sdk-core";
  3. Create the olpClientSettings instance using the environment in which you work and the getToken method.

    const olpClientSettings = new OlpClientSettings({
        "here | here-dev | here-cn | here-cn-dev | http://YourLocalEnvironment",
      getToken: () => userAuth.getToken()

results matching ""

    No results matching ""