source layer

A source layer is a specific layer within a vector source. A vector source can have multiple layers. There are a few places you can find the name of a source layer:

  • The tileset information page for a specific tileset.
  • In the Mapbox Studio style editor using the Select data tab.
  • In the Mapbox Studio style editor using the Style reference option in the toolbar.

Tileset information page

To find a source layer within a tileset:

  1. Visit your Tilesets page.
  2. Click the name of one of your tilesets.
  3. The tileset information page will open, and you can find your source layers below the Layer details heading.

screenshot indicating that the source layer for tilesets are listed below the Layer details heading on the tileset information page for that tileset

Select data in the Mapbox Studio style editor

To find the name of source layers used in Mapbox styles:

  1. Open the style in the Mapbox Studio style editor.
  2. Click on the name of the layer in the layer list.
  3. Switch to the Select data tab.
  4. Find the source layer listed below the name of the tileset source.

In the example below, the layer is named place-island and the source layer is the place_label layer within the Mapbox Streets tileset source.

screenshot of source layers in Mapbox Studio

Style reference in the Mapbox Studio style editor

To find the name of source layers used in Mapbox styles:

  1. Open the style in the Mapbox Studio style editor.
  2. Click on the Style reference option in the toolbar in the upper right.

In the example below, the source layer is called waterway_label and the layer is called waterway-label.

screenshot of list of sources in style reference in the Mapbox Studio style editor