small fixes
This commit is contained in:
parent
100f3ecd72
commit
ed272c5973
3 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ export const MapPanel = ({ mapMode, tileUrl, positions, lastPoint, sliceScheme,
|
||||||
<TileLayer url={tileUrl} attribution="Local tiles" tms={sliceScheme === "tms"} />
|
<TileLayer url={tileUrl} attribution="Local tiles" tms={sliceScheme === "tms"} />
|
||||||
{positions.length > 0 && (
|
{positions.length > 0 && (
|
||||||
<>
|
<>
|
||||||
<Polyline positions={positions} pathOptions={{ color: "#7dd3fc", weight: 5, opacity: 0.9 }} />
|
<Polyline positions={positions} pathOptions={{ color: "#7dd3fc", weight: 25, opacity: 0.9 }} />
|
||||||
<Marker position={positions[positions.length - 1]} icon={markerIcon} />
|
<Marker position={positions[positions.length - 1]} icon={markerIcon} />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -10,7 +10,7 @@ GNSS_SOURCE = "simulated"
|
||||||
GNSS_PORT = "/dev/ttyAMA0"
|
GNSS_PORT = "/dev/ttyAMA0"
|
||||||
GNSS_BAUD = 9600
|
GNSS_BAUD = 9600
|
||||||
GNSS_TIMEOUT = 1.0
|
GNSS_TIMEOUT = 1.0
|
||||||
SIM_START_POINT = (55.162, 61.392)
|
SIM_START_POINT = (55.300, 61.350)
|
||||||
SIM_PATH = "circle" # circle | rectangle
|
SIM_PATH = "circle" # circle | rectangle
|
||||||
# Для симуляции движения по прямоугольнику раскомментируй строку ниже:
|
# Для симуляции движения по прямоугольнику раскомментируй строку ниже:
|
||||||
# SIM_PATH = "rectangle"
|
# SIM_PATH = "rectangle"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue