feat: Line and markers with green color
This commit is contained in:
@@ -2203,7 +2203,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
|
|||||||
// Custom circle icon for draggable markers
|
// Custom circle icon for draggable markers
|
||||||
const circleIcon = L.divIcon({
|
const circleIcon = L.divIcon({
|
||||||
className: "custom-div-icon",
|
className: "custom-div-icon",
|
||||||
html: "<div style='background-color:#00FFFF;border-radius:50%;width:10px;height:10px;'></div>",
|
html: "<div style='background-color:#298a00;border-radius:50%;width:10px;height:10px;'></div>",
|
||||||
iconSize: [25, 25],
|
iconSize: [25, 25],
|
||||||
iconAnchor: [5, 5],
|
iconAnchor: [5, 5],
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export default function handler(req, res) {
|
|||||||
IdModul: 1,
|
IdModul: 1,
|
||||||
Na: "system",
|
Na: "system",
|
||||||
Le: 4,
|
Le: 4,
|
||||||
Co: "#00FF00",
|
Co: "#018915",
|
||||||
Me: "Eingang DE04 kommend",
|
Me: "Eingang DE04 kommend",
|
||||||
Feld: 3,
|
Feld: 3,
|
||||||
Icon: 0,
|
Icon: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user