Map Tile API Developer's Guide

Political Views

The /meta/pviews resource handles requests for Political View details.

The following URL shows the format of a request and the table below explains each parameter.

https://{1-4}.base.maps.cit.api.here.com
/maptile/2.1/meta/pviews
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&{param}={value}

Mandatory Query Parameters

The following table lists the mandatory parameters that need to be specified with every request. Not specifying these parameters will make the system reject the request.

Table 1. Mandatory Query Parameters
Parameter Type Description
app_id String A URL-safe encoded string obtained during the application registration. See Acquiring Credentials for information on getting credentials.
app_code String A URL-safe encoded string obtained during the application registration. See Acquiring Credentials for information on getting credentials.

Note: Usage of token is accepted although is deprecated

Table 2. POI Information Specific Query paramaters
Parameter Type Description
output String Output specifier. The API supports the following output specifier values (and output formats):
  • text – delivers the API metadata in plain text format (this is the default).
  • json – delivers the API metadata in JSON format. For this format the index is not listed as it is implicit from the position in the array.

Example with JSON output

The following example shows a request addressed to the /meta/pviews resource.

Note: Please note the information below is just an example so it might be outdated, please check the latest result for an updated list of values.
https://{1-4}.base.maps.cit.api.here.com
/maptile/2.1/meta/pviews
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&output=json

The response contains information as shown in this example.


{"pviews" : [
 "ARG",
 "IND",
 "MAR",
 "PAK"
]
}

Example with plain text output

The following example shows a request addressed to the /meta/pviews resource.

Note: Please note the information below is just an example so it might be outdated, please check the latest result for an updated list of values.
https://{1-4}.base.maps.cit.api.here.com
/maptile/2.1/meta/pviews
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

The response contains information as shown in this example.


ARG,
IND,
MAR,
PAK