formatting

This commit is contained in:
Amirhossein Mahmoodi
2024-08-18 11:11:58 +03:30
parent f7c93d0404
commit f2e199ee8a
40 changed files with 733 additions and 450 deletions

View File

@@ -2,11 +2,7 @@ import { Box, LinearProgress, Stack } from "@mui/material";
function MapLoading() {
return (
<Stack
sx={{ height: "100%" }}
alignItems={"center"}
justifyContent={"center"}
>
<Stack sx={{ height: "100%" }} alignItems={"center"} justifyContent={"center"}>
<Box sx={{ width: 200 }}>
<LinearProgress />
</Box>
@@ -14,4 +10,4 @@ function MapLoading() {
);
}
export default MapLoading;
export default MapLoading;

View File

@@ -1,7 +1,7 @@
"use client";
import { MapContainer, TileLayer, useMap } from "react-leaflet";
export const IRAN_CENTER = L.latLng(32.4279, 53.6880);
export const IRAN_CENTER = L.latLng(32.4279, 53.688);
const MapOptions = ({ options }) => {
const map = useMap();
@@ -40,4 +40,4 @@ function MapLayer({ children, style, otherLayers, options }) {
);
}
export default MapLayer;
export default MapLayer;