title: Mapbox autocomplete get Long and Lat
body: <p>I'm using Mapbox with autocomplete in a vue component:</p>
  
  <pre><code>&lt;template&gt;
      &lt;div&gt;
          &lt;div id='geocoder'&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
      import mapboxgl from 'mapbox-gl';
  
      export default {
          data() {
              return {
                  map: null
              }
          },
  
          created() {
              Event.$on('map-created', (map) =&gt; {
                  this.map = map;
  
                  let geocoder = new MapboxGeocoder({
                      accessToken: mapboxgl.accessToken,
                  });
  
                  document.getElementById('geocoder').appendChild(geocoder.onAdd(this.map));
              });
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>It's working but how do I get the long and lat when a user clicks on a result?</p>
  
  <p>Is there some kind of event? Couldn't find anything in the docs. </p>
  
  <p>Thanks!</p>