Feature/change any file
This commit is contained in:
@@ -73,7 +73,7 @@ const MapInteraction = ({ setValue, startLat, startLng, endLat, endLng }) => {
|
||||
{ lat: startLat, lng: startLng },
|
||||
{ lat: endLat, lng: endLng },
|
||||
],
|
||||
{ paddingTopLeft: [16, 16], paddingBottomRight: [16, 130] }
|
||||
{ paddingTopLeft: [64, 64], paddingBottomRight: [64, 64] }
|
||||
);
|
||||
}
|
||||
}, [startLat, map, endLng]);
|
||||
@@ -142,7 +142,7 @@ const MapInteraction = ({ setValue, startLat, startLng, endLat, endLng }) => {
|
||||
zIndex: 1000,
|
||||
}}
|
||||
>
|
||||
<Button variant={"contained"} onClick={handleUnlockStart}>
|
||||
<Button variant={"contained"} color="warning" onClick={handleUnlockStart}>
|
||||
ویرایش نقطه شروع
|
||||
</Button>
|
||||
</Box>
|
||||
@@ -184,8 +184,8 @@ const MapInteraction = ({ setValue, startLat, startLng, endLat, endLng }) => {
|
||||
setIsEndLocked(true);
|
||||
setEndIconColor("#D13131");
|
||||
map.fitBounds([startPosition, map.getCenter()], {
|
||||
paddingTopLeft: [16, 16],
|
||||
paddingBottomRight: [16, 16],
|
||||
paddingTopLeft: [64, 64],
|
||||
paddingBottomRight: [64, 64],
|
||||
});
|
||||
}
|
||||
},
|
||||
@@ -202,7 +202,7 @@ const MapInteraction = ({ setValue, startLat, startLng, endLat, endLng }) => {
|
||||
zIndex: 1000,
|
||||
}}
|
||||
>
|
||||
<Button variant={"contained"} onClick={handleUnlockEnd}>
|
||||
<Button variant={"contained"} color="warning" onClick={handleUnlockEnd}>
|
||||
ویرایش نقاط
|
||||
</Button>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user