Map Tile API Developer's Guide

Dual Label Tile

This article shows how to make a request for a dual label map tile.

User story

The user wants to obtain a map image of Shanghai with the labels in English as the main language and Simplified Chinese as the secondary language. The tile requested uses the lg and lg2 parameters.

Note: Any combination of maptile and scheme can be used for dual label, in the following example we have chosen the maptile map tile and the normal.day scheme.

Request Summary

The following list summarizes the elements required to create a request matching the user story and shows, in square brackets, how those elements are used in the example(s) below. Note that the request example also uses the authentication parameters.

Resource: maptile [maptile], see also (resource) type
URL variables: {map id} [newest], see also Requesting the Right Map Version
  {scheme} [normal.day], see also scheme
  {zoom}/{column}/{row} [13/6694/3574], see also The Mercator Projection
  {size} [256], see also size
  {format} [png8], see also format
Parameters: lg = ENG, see also lg lg2 = CHI, see also lg2

Request

The code block below demonstrates a complete request for a dual label tile.

https://2.base.maps.cit.api.here.com
/maptile/2.1/maptile/newest/normal.day/13/6694/3574/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&lg=ENG
&lg2=CHI

Response

The response to the request delivers the following map tile of Hong Kong.

Figure 1. Dual Label Map Tile

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.