|
@@ -12,7 +12,7 @@ import mapboxToken from "./../config/mapboxToken.js";
|
|
|
import {calcDistance} from "./../helpers/distance";
|
|
|
import {longitude, latitude, mapWidth, mapHeight, markerIcon} from "./../config/variables";
|
|
|
import {Button} from "reactstrap";
|
|
|
-import {getRoute} from "./../helpers/mapboxHelper";
|
|
|
+import {getRoute, mapStyles} from "./../helpers/mapboxHelper";
|
|
|
import PathButtons from "./../PathButtons";
|
|
|
import {GeoJSONLayer} from "react-mapbox-gl";
|
|
|
|
|
@@ -96,7 +96,7 @@ export default class Mapbox extends React.Component{
|
|
|
<div>
|
|
|
<div className="map">
|
|
|
<Map
|
|
|
- style="mapbox://styles/mapbox/bright-v9"
|
|
|
+ style={mapStyles.bright}
|
|
|
containerStyle={{
|
|
|
height: mapHeight,
|
|
|
width: mapWidth
|