title: Scale control in Mapbox GL JS?
body: <p>How do I add a scale control in Mapbox GL JS?</p>
  
  <p>This is what I've tried:</p>
  
  <pre><code>map.addControl(new mapboxgl.Scale({position: 'bottom-left'}));
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>Uncaught TypeError: mapboxgl.Scale is not a constructor
  </code></pre>
  
  <p>I'm using Mapbox GL JS version 0.32.1 and I thought <a href="https://github.com/mapbox/mapbox-gl-js/pull/2940#issuecomment-238882361" rel="nofollow noreferrer">scale controls were added in version 0.23</a>. The map itself is working fine. </p>