Quick start

This section outlines how to quickly get started using the HERE Raster Tile API:

  1. Get a HERE account
  2. Create a project
  3. Configure your project
  4. Send a request

Note

This section provides information on the minimum setup required to quickly begin using the HERE Raster Tile API. For more detailed information on HERE account setup, project creation, service linking, app registration, and authentication, see the Identity & Access Management Developer 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. Enter an optional description.
  7. Click Save.

Configure your project

To configure your project, which involves linking the HERE Raster Tile API services you want to use, adding an app to the project, and generating credentials for the app, follow these steps:

  1. On the Resources tab, select Services and then click Link a Service.
  2. Search for HERE Raster Tile API service(s) and click Link.
  3. Click Done.
  4. Select the Access and permissions tab and click Grant access.
  5. Under New app, select Create.
  6. Provide an app name and click Register. The platform creates a new app with a unique app ID.
  7. 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 20.
  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 7, with x and y coordinates at 66 and 42 respectively:

    Bearer token
    | Apikey
    curl -H "Authorization: Bearer TOKEN_HERE" "https://maps.hereapi.com/v3/base/mc/7/66/42/png"
    curl "https://maps.hereapi.com/v3/base/mc/7/66/42/png?apikey={API_KEY}"
Tile of an area in Germany
Figure 1. Tile of an area in Germany

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 the possible parameters, see the API reference.

results matching ""

    No results matching ""