This commit is contained in:
Shanmuga Krishnan S M
2026-07-27 14:27:17 +05:30
parent a3e1f1e826
commit 18c71673b8

View File

@@ -174,6 +174,10 @@ export default function BusRouteMap({ selectedRoute, allRoutes }: BusRouteMapPro
<MapContainer <MapContainer
center={DEFAULT_CENTER as L.LatLngExpression} center={DEFAULT_CENTER as L.LatLngExpression}
zoom={11} zoom={11}
minZoom={10}
maxZoom={18}
maxBounds={[[12.7, 79.6], [13.4, 80.4]] as L.LatLngBoundsExpression}
maxBoundsViscosity={1.0}
className="h-full w-full z-10" className="h-full w-full z-10"
style={{ height: "100%", width: "100%" }} style={{ height: "100%", width: "100%" }}
> >