If you have privileges to create content, you can customize the style of any vector tile layer, including vector basemaps, in Map Viewer. For example, you might want to change the style of an Esri vector basemap to better suit your organization's brand requirements. You can make changes to the layer's colors, patterns, icons, and labels. If you want to customize a vector tile layer that you don't own, you must first save a copy of the layer as an item and then make style changes to the copied layer.
Follow these steps to update the style of a vector tile layer using the Change Style button in Map Viewer.
- Verify that you are signed in to ArcGIS Online and have privileges to create content.
- In Map Viewer, add the vector tile layer that has the style you want to update.
- If necessary, click Details and click Content.
- Under the layer you added, click Change Style .
- Create a style as follows:
- In the Save style as window, specify a title, tags, summary, and folder location for your new layer.
- Click Save Style.
A layer item that stores the new style is created in your content. This layer item references the data in the hosted vector tile layer; the data is not copied or duplicated.
- In the Change Style window, make the style changes you want. For more information, see the ArcGIS Vector Tile Style Editor documentation.
- When finished, click Save style and close.
Your style changes are displayed in the map and automatically saved with your layer. You can use this new layer item whenever you want to apply this style to the vector tile layer.
In some cases, you may need to change a vector tile layer's style manually—for example, if you are using filters or custom fonts. You can manually change a vector tile layer's style by saving a copy of the layer, downloading the associated style file (root.json) from the layer's item page, editing the file using a JSON editor, and updating your copy of the vector tile layer with the new style. For information on manually changing the style of vector tile layers, see Mapbox GL Style Reference and Mapbox vector tile specification.