ArcGIS Light Gray Labels as a web map.
Returns the JSON for ArcGIS Light Gray Labels as a web map.
The default global place labels are in English. To display place labels in other languages, use the language
parameter.
This (v2) vector tile layer provides a detailed reference overlay for the world featuring a light neutral background style with minimal colors, labels, and features. This map is designed to be used with Light Gray Canvas Base.
For more information about the style, data providers, attribution, and terms of use, go to the item page in ArcGIS.
Note:
This endpoint does not support worldviews. Making a request to this endpoint with a worldview
query parameter will result in a bad request
.
Query parameters
Name | Type | Required | Default value | Description |
---|---|---|---|---|
|
| Optional, case-sensitive parameter to specify the preferred language to use for ArcGIS basemap labels. | ||
|
| The authentication token, used to access the Basemap styles service. | ||
|
| Optional, case-sensitive parameter to specify the format in which responses are given. Can either be json or pjson. |
language
Optional, case-sensitive parameter to specify the preferred language to use for ArcGIS basemap labels.
This query parameter makes use of language codes to specify the preferred language. If not set, the default behavior is to use the Global Language code, usually English.
If an unsupported language code is used, then the service will attempt
to fall-back to the closest available language. This is done by
stripping regional and extension subtags to find a known language code.
For example, American English (en-
) or Canadian French (fr-
)
will be interpreted as English and French respectively. Should this
fail, then the service will use the default label language (Global).
Language | Language Code | ISO 639-2:1998 | ISO 639-1 | Notes |
---|---|---|---|---|
Global | global | Uses global place names. This default option will use the basemap style default, usually English. | ||
Local | local | Uses the local place names. This will use the names of places in their local language - Eg. Lisboa for Lisbon. | ||
Arabic | ar | ara | Uses the Unicode font. | |
Bosnian | bs | bos | Uses the Unicode font. | |
Bulgarian | bg | bul | Uses the Unicode font. | |
Catalan | ca | cat | ||
Chinese (Hong Kong) | zh-HK | zh-hk | Uses the Unicode font. | |
Chinese (Simplified) | zh-CN | zh-cn | Uses the Unicode font. | |
Chinese (Taiwan) | zh-TW | zh-tw | Uses the Unicode font. | |
Croatian | hr | hrv | Uses the Unicode font. | |
Czech | cs | cze | Uses the Unicode font. | |
Danish | da | dan | ||
Dutch | nl | dut | Uses the Unicode font. | |
English | en | eng | ||
Estonian | et | est | ||
Finnish | fi | fin | ||
French | fr | fre | ||
German | de | ger | ||
Greek | el | gre | Uses the Unicode font. | |
Hebrew | he | heb | Uses the Unicode font. | |
Hungarian | hu | hun | ||
Indonesian | id | ind | ||
Italian | it | ita | ||
Japanese | ja | jpn | Uses the Unicode font. | |
Korean | ko | kor | Uses the Unicode font. | |
Latvian | lv | lav | ||
Lithuanian | lt | lit | ||
Norwegian | nb | nor | ||
Polish | pl | pol | ||
Portuguese (Brazil) | pt-BR | pt-br | ||
Portuguese (Portugal) | pt-PT | pt | ||
Romanian | ro | rum | Uses the Unicode font. | |
Russian | ru | rus | Uses the Unicode font. | |
Serbian | sr | srp | Uses the Unicode font. | |
Slovak | sk | slk | Uses the Unicode font. | |
Slovenian | sl | slv | Uses the Unicode font. | |
Spanish | es | spa | ||
Swedish | sv | swe | ||
Thai | th | tha | Uses the Unicode font. | |
Turkish | tr | tur | ||
Ukrainian | uk | ukr | Uses the Unicode font. | |
Vietnamese | vi | vie |
- Default
- global
Enumerated values
token
The authentication token, used to access the Basemap styles service.
The token
parameter can be either an API Key or short-lived token.
Alternatively, you can supply a token in the request header with one of the following keys using the "Bearer" scheme:
Authorization
: Bearer <YOUR _TOKEN > X-
Esri- Authorization : Bearer <YOUR _TOKEN >
The provided token
must have the necessary premium
privilege to use the basemap style service.
Developer guide: To learn more, go to Security and authentication.
f
Optional, case-sensitive parameter to specify the format in which responses are given. Can either be json or pjson.
- Default
- json
Enumerated values
Examples
Request
# You can also use wget
curl -X GET https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/light-gray/labels \
-H 'Accept: application/json'
Response
200 Response
{}
Status | Meaning | Description | Schema |
---|---|---|---|
| A successful response for a webmap request. | ||
| Invalid query parameters / Incorrect portal item type. | ||
| Authentication Error. The API key or token is missing, invalid or expired. | ||
| The requested resource cannot be accesed because of incorrent sharing permissions. | ||
| Unknown | An error occurred on the server. |