|
@@ -7,10 +7,10 @@ import {
|
|
|
ZoomControl,
|
|
|
ScaleControl,
|
|
|
Polyline,
|
|
|
- Tooltip,
|
|
|
+// Tooltip,
|
|
|
FeatureGroup
|
|
|
} from "react-leaflet";
|
|
|
-import L from "leaflet";
|
|
|
+//import L from "leaflet";
|
|
|
import {EditControl} from "react-leaflet-draw";
|
|
|
import "./../css/maps.css";
|
|
|
import {calcDistance} from "./../helpers/distance";
|
|
@@ -137,9 +137,9 @@ export default class Leaflet extends React.Component{
|
|
|
key={idx}
|
|
|
riseOnHover={true}
|
|
|
onDragend={(e) => this.updateMarker(idx, e)}
|
|
|
-// icon={customIcon}
|
|
|
+ // icon={customIcon}
|
|
|
>
|
|
|
-// <Tooltip permanent>{idx}</Tooltip>
|
|
|
+ {/*<Tooltip permanent>{idx}</Tooltip>*/}
|
|
|
<Popup>
|
|
|
{idx}
|
|
|
</Popup>
|