2 middle point
This commit is contained in:
@@ -11,7 +11,7 @@ import { useEffect, useRef, useState } from "react";
|
|||||||
import DataBox from "./DataBox";
|
import DataBox from "./DataBox";
|
||||||
import AlarmText from "./AlarmText";
|
import AlarmText from "./AlarmText";
|
||||||
|
|
||||||
const MAX_WAYPOINTS = 1;
|
const MAX_WAYPOINTS = 2;
|
||||||
|
|
||||||
const Routing = ({ setArea, setLocations, locations, area }) => {
|
const Routing = ({ setArea, setLocations, locations, area }) => {
|
||||||
const mapPrevSourceMarker = useRef();
|
const mapPrevSourceMarker = useRef();
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { useEffect, useRef, useState } from "react";
|
|||||||
import DataBox from "./DataBox";
|
import DataBox from "./DataBox";
|
||||||
import AlarmText from "./AlarmText";
|
import AlarmText from "./AlarmText";
|
||||||
|
|
||||||
const MAX_WAYPOINTS = 1;
|
const MAX_WAYPOINTS = 2;
|
||||||
|
|
||||||
const Routing = ({ setArea, setLocations, locations, area }) => {
|
const Routing = ({ setArea, setLocations, locations, area }) => {
|
||||||
const mapPrevSourceMarker = useRef();
|
const mapPrevSourceMarker = useRef();
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { useEffect, useRef, useState } from "react";
|
|||||||
import DataBox from "./DataBox";
|
import DataBox from "./DataBox";
|
||||||
import AlarmText from "./AlarmText";
|
import AlarmText from "./AlarmText";
|
||||||
|
|
||||||
const MAX_WAYPOINTS = 1;
|
const MAX_WAYPOINTS = 2;
|
||||||
|
|
||||||
const Routing = ({ setArea, setLocations, locations, area }) => {
|
const Routing = ({ setArea, setLocations, locations, area }) => {
|
||||||
const mapPrevSourceMarker = useRef();
|
const mapPrevSourceMarker = useRef();
|
||||||
|
|||||||
Reference in New Issue
Block a user