Bernadette Elena Hammerle 3 лет назад
Родитель
Сommit
e9edc4cc61
1 измененных файлов с 6 добавлено и 9 удалено
  1. 6 9
      src/maps/MapGL.js

+ 6 - 9
src/maps/MapGL.js

@@ -13,7 +13,7 @@ import "./../css/maps.css";
 import mapboxToken from "./../config/mapboxToken.js";
 import {calcDistance} from "./../helpers/distance";
 import {longitude, latitude, mapWidth, mapHeight, markerIcon} from "./../config/variables";
-import {Button, Input, Label, CustomInput, Row, Col, Container} from "reactstrap";
+import {Button, Input, Label, Row, Col, Container} from "reactstrap";
 import {getRoute} from "./../helpers/mapboxHelper";
 import PathButtons from "./../PathButtons";
 import {
@@ -195,13 +195,12 @@ export default class MapGL extends React.Component{
               }}
             />
 
-
             <div className="controllers">
-              <GeolocateControl />
-              <FullscreenControl />
-              <NavigationControl />
-              <ScaleControl />
-              <small> {'\u00A9'} Mapbox {'\u00A9'} OpenStreetMap </small>
+              <GeolocateControl/>
+              <FullscreenControl/>
+              <NavigationControl/>
+              <ScaleControl/>
+              <small> {'\u00A9'} OpenStreetMap </small>
             </div>
           </ReactMapGL>
         </div>
@@ -216,8 +215,6 @@ export default class MapGL extends React.Component{
 
           <br/>
 
-
-
           <div>
             <Container>
               <Row>