Browse Source

mapgl: clean up

Bernadette Elena Hammerle 3 years ago
parent
commit
e9edc4cc61
1 changed files with 6 additions and 9 deletions
  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>