This commit is contained in:
2024-09-16 20:19:22 +05:00
parent 1901aad2b7
commit ea19d1e43a
16 changed files with 335 additions and 704 deletions
@@ -22,8 +22,8 @@ const Map = () => {
return (
<div className="relative">
<TransformWrapper
initialScale={isMobile ? 2 : 1}
minScale={isMobile ? 2 : 1}
initialScale={isMobile ? 1 : 1}
minScale={isMobile ? 1 : 1}
maxScale={2}
alignmentAnimation={{ sizeX: 50, sizeY: 50 }}
wheel={{ step: 10000, smoothStep: 0.0005 }}
@@ -32,6 +32,7 @@ const Map = () => {
animationType: "easeOutQuart",
animationTime: 500,
}}
centerOnInit
>
<WeatherWidget />
{!isMobile && <ZoomControlls />}