/webmaps/arcgis/dark-gray/labels

Click to copy

ArcGIS Dark Gray Labels as a web map.

Returns the JSON for ArcGIS Dark Gray Labels as a web map.

ArcGIS Dark Gray Labels

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 city reference overlay for the world designed for use over a dark neutral background style with minimal colors, labels, and features. This map is designed to be used with Dark 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

NameTypeRequiredDefault valueDescription

string

global

Optional, case-sensitive parameter to specify the preferred language to use for ArcGIS basemap labels.

string

The authentication token, used to access the Basemap styles service.

string

json

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-US) or Canadian French (fr-CA) will be interpreted as English and French respectively. Should this fail, then the service will use the default label language (Global).

LanguageLanguage CodeISO 639-2:1998ISO 639-1Notes
GlobalglobalUses global place names. This default option will use the basemap style default, usually English.
LocallocalUses the local place names. This will use the names of places in their local language - Eg. Lisboa for Lisbon.
ArabicararaUses the Unicode font.
BosnianbsbosUses the Unicode font.
BulgarianbgbulUses the Unicode font.
Catalancacat
Chinese (Hong Kong)zh-HKzh-hkUses the Unicode font.
Chinese (Simplified)zh-CNzh-cnUses the Unicode font.
Chinese (Taiwan)zh-TWzh-twUses the Unicode font.
CroatianhrhrvUses the Unicode font.
CzechcsczeUses the Unicode font.
Danishdadan
DutchnldutUses the Unicode font.
Englisheneng
Estonianetest
Finnishfifin
Frenchfrfre
Germandeger
GreekelgreUses the Unicode font.
HebrewhehebUses the Unicode font.
Hungarianhuhun
Indonesianidind
Italianitita
JapanesejajpnUses the Unicode font.
KoreankokorUses the Unicode font.
Latvianlvlav
Lithuanianltlit
Norwegiannbnor
Polishplpol
Portuguese (Brazil)pt-BRpt-br
Portuguese (Portugal)pt-PTpt
RomanianrorumUses the Unicode font.
RussianrurusUses the Unicode font.
SerbiansrsrpUses the Unicode font.
SlovakskslkUses the Unicode font.
SlovenianslslvUses the Unicode font.
Spanishesspa
Swedishsvswe
ThaiththaUses the Unicode font.
Turkishtrtur
UkrainianukukrUses the Unicode font.
Vietnamesevivie
Default
global
Enumerated values
global
Click to copy
local
Click to copy
ar
Click to copy
bs
Click to copy
bg
Click to copy
ca
Click to copy
zh-HK
Click to copy
zh-CN
Click to copy
zh-TW
Click to copy
hr
Click to copy
cs
Click to copy
da
Click to copy
nl
Click to copy
en
Click to copy
et
Click to copy
fi
Click to copy
fr
Click to copy
de
Click to copy
el
Click to copy
he
Click to copy
hu
Click to copy
id
Click to copy
it
Click to copy
ja
Click to copy
ko
Click to copy
lv
Click to copy
lt
Click to copy
nb
Click to copy
pl
Click to copy
pt-BR
Click to copy
pt-PT
Click to copy
ro
Click to copy
ru
Click to copy
sr
Click to copy
sk
Click to copy
sl
Click to copy
es
Click to copy
sv
Click to copy
th
Click to copy
tr
Click to copy
uk
Click to copy
vi
Click to copy

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:user:basemaps 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
json
Click to copy
pjson
Click to copy

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/dark-gray/labels \
  -H 'Accept: application/json'

Response

200 Response

Use dark colors for code blocksCopy
1
{}
StatusMeaningDescriptionSchema

200

OK

A successful response for a webmap request.

Webmap

400

Bad Request

Invalid query parameters / Incorrect portal item type.

Error

401

Unauthorized

Authentication Error. The API key or token is missing, invalid or expired.

Error

403

Forbidden

The requested resource cannot be accesed because of incorrent sharing permissions.

Error

5XX

Unknown

An error occurred on the server.

Error

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.