providers/mapbox.js
function toGeoJSON(json, options = Options) {
  const collection = featureCollection([])
  collection.features = json.features.map(result => {
    return result
  })
  return collection
}
function toGeoJSON(json, options = Options) {
  const collection = featureCollection([])
  collection.features = json.features.map(result => {
    return result
  })
  return collection
}
function toGeoJSON ( json , options = Options ) { const collection = featureCollection ( [ ] ) collection . features = json . features . map ( result => { return result } ) return collection }
Convert Mapbox results into GeoJSON
Convert Mapbox results into GeoJSON