Skip to content

Open Basemap styles

Use the ArcGIS Static Basemap Tiles service to display Open Basemap styles with ArcGIS Maps SDKs and open source libraries.

Map with Open Basemap styles from the Static Basemap Tiles service

Open Basemap Styles

The Static Basemap Tiles service supports styles in the Open Basemap style family. The styles reference data from Esri, the Overture Maps Foundation, and other authoritative data provides such as

OpenStreetMap (OSM), Microsoft, Esri Community Maps, and other open data sources.

.

The styles are categorized into the following groups:

  • Streets: Road networks, urban, and community features e.g. open/streets and open/osm-style
  • Satellite: Satellite imagery and labels e.g. open/hybrid/detail
  • Reference: Minimal geographic features such as boundaries and place labels e.g. open/light-gray and open/dark-gray

See all the styles below.

How to display an Open Basemap style

The general steps to display a basemap style are:

  1. Set the service URL, path and query parameters:
    • Service URL
      • https://static-map-tiles-api.arcgis.com/arcgis/rest/services/static-basemap-tiles-service/v1/{style_family}/{style_name}/static/tile/{z}/{y}/{x}?{parameters}&token=<ACCESS_TOKEN>.
    • Path parameters
      • Style family: open
      • Style name: For example open/osm-style or open/light-gray . See all names below.
    • Query parameters
      • Style preferences: Not available
      • Access token: token
  2. Set the access token either as an authorization header or query parameter.
  3. Display the style with a client API. See the Code examples.
  4. Display Esri and data attribution.

To learn more about the service parameters, access tokens, and attribution requirements, go to the Introduction to the ArcGIS Static Basemap Tiles service.

Styles

Streets styles show road networks, urban, and community features. These styles are typically used for geocoding and routing applications.

Style family
Style name
Example
Data type
Data providers
openosm-style
Map tilesService API > Sources
opennavigation
Map tilesService API > Sources
opennavigation-dark
Map tilesService API > Sources
openstreets
Map tilesService API > Sources

Code examples

Get all style names

This example shows how to use the ArcGIS Static Basemap Tiles service /self request to return all available styles in the Open Basemap style family.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

const selfCallURL = "https://static-map-tiles-api.arcgis.com/arcgis/rest/services/static-basemap-tiles-service/v1/self";


fetch(selfCallURL, {
  method: "GET",
  headers: {"Authorization": `Bearer ${YOUR_ACCESS_TOKEN}`},
})
  .then((response) => response.json())
  .then((result) => {
    const openStyles = result.styles.filter(style=>style.styleFamily === 'open');
    console.log(openStyles)}
  )
  .catch((error) => console.error(error));

Display an Open Basemap style

This example shows how to use the service as a data source for a basemap. To see all of the styles, go to the styles table.

Map displaying the Open ArcGIS Navigation (static tile) style
ArcGIS Maps SDK for JavaScriptArcGIS Maps SDK for JavaScriptEsri LeafletMapLibre GL JSOpenLayersCesiumJS
Expand
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

      //const basemapStyle = "open/osm-style"
      const basemapStyle = "open/navigation";
      // const basemapStyle = "open/navigation-dark"
      // const basemapStyle = "open/streets"
      // const basemapStyle = "open/light-gray"
      // const basemapStyle = "open/dark-gray"
      // const basemapStyle = "open/hybrid/detail"

      const basemap = new Basemap({
        baseLayers: [
          new TileLayer({
            url: `https://static-map-tiles-api.arcgis.com/arcgis/rest/services/static-basemap-tiles-service/v1/${basemapStyle}/static`,
          }),
        ],
      });

      const map = new Map({
        basemap: basemap,
      });

      const view = new MapView({
        container: "viewDiv",
        map: map,
        center: [-43.4227, -22.8283], // Brazil (x, y)
        zoom: 9,
      });
Expand

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