Use dist instead of src in mapbox (#2027)

I had issues compiling the src, I think it's because the syntax is different than the one used here?
With the dist it works fine.

I also saw there were other related issues in the past, so I'm suggesting to switch to the dist file.
This commit is contained in:
Emanuele Cesena 2017-01-24 10:10:35 -08:00 committed by Maxime Beauchemin
parent e84c6393b8
commit a3a070855c
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import d3 from 'd3';
import React from 'react';
import ReactDOM from 'react-dom';
import MapGL from 'react-map-gl';
import ScatterPlotOverlay from 'react-map-gl/src/overlays/scatterplot.react.js';
import ScatterPlotOverlay from 'react-map-gl/dist/overlays/scatterplot.react.js';
import Immutable from 'immutable';
import supercluster from 'supercluster';
import ViewportMercator from 'viewport-mercator-project';