formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user