Get started

This section outlines how to quickly get started using the HERE Vector Tile Service on the HERE platform.

  1. Get a HERE account
  2. Create a project
  3. Get an API key
  4. Send a request
  5. Next steps

Note

This section provides information on the minimum setup required to quickly begin using the HERE Vector Tile Service. For more detailed information on HERE account setup, project creation, service linking, app registration, and authentication, see the Identity & Access Management Guide.

Get a HERE account

If your organization has signed up for HERE Workspace or HERE Marketplace, contact your organization admin who can invite you to join the HERE platform organization established for your company. You can also request a free trial of the HERE platform if your company does not have an organization established for it. For more information, see the HERE platform pricing.

Create a project

To create a project, follow these steps:

  1. Sign in to the HERE platform using your HERE account.
  2. Open the Projects Manager from the launcher.
  3. Click Create new project.
  4. Enter a name for the project. Project names don't have to be unique.
  5. Enter a project ID. Project IDs must be unique within an organization and cannot be changed for the lifetime of the organization. Project IDs must be between 4 and 16 characters in length.
  6. Optional: Enter a description.
  7. Click Save.
  8. On the Resources tab, select Services and then click Link a Service.
  9. Search for the HERE Vector Tile API service to render the map and any other service you want to use and click Link.
  10. Click Done.

Get an API key

To get an API key, follow these steps:

  1. Sign in to the HERE platform using your HERE account.
  2. Select the Access Manager from the launcher.
  3. Select the Apps tab and click Register new app.
  4. Enter a name for the app.
  5. Optional: Enter a description for the app.
  6. Optional: Select the project you created in the previous procedure from the Default access to a project field.
  7. Click Register. The HERE platform creates a new app with a unique app ID.
  8. On the Credentials tab, select API Keys and then click Create API key to generate a maximum of two API Keys for your application authentication credentials. The API key is created and displayed.

Send a request

To send a request, follow these steps:

  1. Select a zoom level value between 0 and 17.
  2. Convert your latitude and longitude into col and row values. For more information, see Mercator Projection.
  3. Request the tile.

    For example, the following command requests a tile with a base layer using Mercator projection at zoom level 11, with x and y coordinates at 1100 and 673 respectively in Map Vector Tile open specification format:

    Bearer token
    | Apikey
    curl -H "Authorization: Bearer TOKEN_HERE" "https://vector.hereapi.com/v2/vectortiles/base/mc/11/1100/673/omv"
    curl "https://vector.hereapi.com/v2/vectortiles/base/mc/11/1100/673/omv?apikey=APIKEY_HERE"
  4. Decode the tile using the related Protobuf schema.

Note

The above request provides examples of both API key and OAuth token authentication. For more information on OAuth token authentication, see the Identity & Access Management Developer Guide.

For more information about making a request to the endpoint, see https://vector.hereapi.com/swagger.json.

For more information about the possible parameters, see the API reference.

Next steps

For a full list of available examples, see Examples. For the terms and conditions covering this documentation, see the HERE Documentation License.

results matching ""

    No results matching ""