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