title: mapbox access token - where do i place it?
body: <p>I was wondering if anyone could help me with where exactly I put my mapbox access token. I don't believe I'm doing this correctly. any help would be appreciated</p>
  
  <pre><code>mapboxgl.accessToken = 'pk......';
  
  var mapboxTiles = 
  L.tileLayer('https://{s}.tiles.mapbox.com/v3/examples.map- 
  zr0njcqy/{z}/{x}/{y}.png', {
      attribution: '&lt;a href="http://www.mapbox.com/about/maps/" 
  target="_blank"&gt;Terms &amp;amp; Feedback&lt;/a&gt;'
  });
  
  var map = L.map('map')
      .addLayer(mapboxTiles) 
      .setView([40.72332345541449, -73.99], 14);
  </code></pre>