Basemap styles
What are basemap styles?
A basemap style, also referred to as a basemap layer style, is a set of visual properties such as fill colors, viewing levels, and fonts that define how the visual elements in a vector tile basemap layer are displayed. You use a basemap style to create a specific type of visualization for the entire extent of a map or scene.
There are two types of basemap styles:
Default styles: Styles provided by Esri such as Streets, Topographic, Light Gray Canvas, OSM, Mid-Century, and Nova.
Custom styles: Styles that you create with the ArcGIS Vector Tile Style Editor.
This section covers how to use custom basemap styles in your applications.
How a custom basemap style works
A custom basemap style is created using the Vector tile style editor and is stored in ArcGIS as an item. Each item has a unique ID and contains JSON defining the visual properties for the style. You use an item ID to access and display the style in a map or scene.
The typical workflow for using a custom basemap style is:
- Create a new custom style from a default style or other custom style.
- Find the style item and ID for the custom style.
- Use the ID to display the custom basemap.
Style items
A custom basemap style is stored as a tile layer item in ArcGIS. The source for the item is a vector tile service (this is the same vector tile service used by the default basemap styles, which means that custom styles can include all the same basemap content as the default styles). Each item page contains the name, description, and ID for the custom style. From the item page, you can access and view the style with Map Viewer or Scene Viewer.
This is an example of the item for a custom Forest and Parks basemap style:
Item page URL: https://www.arcgis.com/home/item.html?id=d2ff12395aeb45998c1b154e25d680e5
Item ID:
d2ff12395aeb45998c1b154e25d680e5
.
Style JSON
The item for each style contains a reference to the definition stored as JSON. The JSON contains references to the sprites, glyphs, and the drawing properties for each layer, as well as the underlying tile service or services. The JSON structure follows the Mapbox Style Specification.
Each layer in a style defines the visual properties for each type of feature in the vector tile layer, such as land areas, oceans, lakes, parks, streets, and place labels. Some of the key properties are id
, type
, and paint
. The paint
property contains the values used by a client application to display the layer, including the color and color ranges.
You can view the style JSON by accessing the root.json
resource for the item. For example, the URL for the Navigation style is:
ArcGIS Vector Tile Style Editor
To create a custom basemap style for your application, you use the ArcGIS Vector Tile Style Editor. Start by selecting a default basemap style or existing custom basemap style, and then use the editor's tools to change the visual properties of each layer. The editor contains a number of tools and UI controls that let you inspect and set the visual properties for each layer.
The most common layer properties are the:
- Fill color
- Opacity
- Visibility level
- Size and font type for labels
- Swatches
- Glyphs
Once you have finished creating a style, use the editor to save it to ArcGIS Online as a new tile layer item with a unique ID.
You use the item's unique ID to access and display the style in applications.
Code examples
Find a style ID and URL
All custom styles are stored in ArcGIS as items. You need to know the item ID in order to use the style in an application.
There are two ways to find a style ID:
Your custom styles: Go to your developer dashboard, or view your content in ArcGIS Online.
Public custom styles: Search ArcGIS Online for styles published by other users.
Example: Style item for the Forest and Parks Canvas custom style.
Item: https://www.arcgis.com/home/item.html?id=d2ff12395aeb45998c1b154e25d680e5
ID:
d2ff12395aeb45998c1b154e25d680e5
Create a custom basemap style
To create a custom style, use the ArcGIS Vector Tile Style Editor.
- Sign in into your developer dashboard.
- Click on New basemap style to launch the Vector tile style editor.
- Select an existing basemap style to start from.
- Set the colors, labels, zoom levels, and other properties for each layer.
- Save the style as an item.
Display a custom basemap style
To access and display a custom style in a map or scene, you use the ID or the JSON URL and add the style as a layer. In most cases, it is added as a basemap layer.
This example references the Forest and Parks Canvas custom style.
- Find the style's item ID in your dashboard or in ArcGIS Online.
- Access the style with the ID or JSON URL.
- Add the layer to a map or scene.
Tutorials

Create a custom basemap style
Use the Vector tile style editor to style a vector tile basemap layer.

Display a custom basemap style
Add and display a styled vector tile basemap layer.
Services
Basemap styles service (v1)
Access streets, satellite, and other basemap styles for maps and scenes.
API support
Point, line, and polygon styles | Data-driven visualization | 3D visualization | |
---|---|---|---|
ArcGIS Maps SDK for JavaScript | |||
ArcGIS Maps SDK for Kotlin | |||
ArcGIS Maps SDK for Swift | |||
ArcGIS Maps SDK for Java | |||
ArcGIS Maps SDK for .NET | |||
ArcGIS Maps SDK for Qt | |||
ArcGIS API for Python | 1 | 2 |
- 1. Define renderers with JavaScript.
- 2. Supports web scenes only.