title: Mapbox - What are my layer ID's?
body: <p>I'm new to using Mapbox. </p>
  
  <p>I'm trying to add a new layer to my map that is above the water layer but below labels. </p>
  
  <pre><code>map.addLayer({
      'id': 'maine',
      'type': 'fill',
      'source': 'maine',
      'layout': {},
      'paint': {
          'fill-color': '#088',
          'fill-opacity': 0.8
      }
  }, 'water');
  </code></pre>
  
  <p>(This code was taken from some example code from Mapbox.)</p>
  
  <p>Right now, this creates a layer that is below the water layer and the labels. However, I can't figure out what layer ID would bring it above the water layer. </p>
  
  <p>This is the stylesheet I'm using:</p>
  
  <pre><code>mapbox://styles/mapbox/light-v9
  </code></pre>
  
  <p>How do I find the other valid layer ID's for this style sheet? I've tried 'streets', 'roads', 'road', 'land', etc, but nothing has worked. I thought this link included all the layer names: </p>
  
  <p><a href="https://www.mapbox.com/studio/styles/mapbox/light-v9/" rel="nofollow noreferrer">https://www.mapbox.com/studio/styles/mapbox/light-v9/</a></p>
  
  <p>but the only one that keeps my new layer from just being on top of everything is 'water'. Help!</p>