Update: 2026-07-06 04:21:17

This commit is contained in:
Hamza-Ayed
2026-07-06 04:21:17 +03:00
parent e42754bb0e
commit 32a6531613
@@ -43,7 +43,9 @@ class NavigationView extends StatelessWidget {
builder: (_) => Stack(
children: [
// ── 1. Map Layer ──────────────────────────────────────────────
IntaleqMap(
Listener(
onPointerDown: (_) => c.onUserPanned(),
child: IntaleqMap(
apiKey: Env.mapSaasKey,
onMapCreated: c.onMapCreated,
onStyleLoaded: c.onStyleLoaded,
@@ -61,6 +63,7 @@ class NavigationView extends StatelessWidget {
zoom: 16.0),
myLocationEnabled: false,
),
),
// ── 2. Top UI (Explore Mode) ──────────────────────────────────
if (!c.isNavigating) _ExploreTopUI(controller: c),
@@ -89,10 +92,10 @@ class NavigationView extends StatelessWidget {
_LocationPickerOverlay(controller: c),
// ── 10. Recenter Button ───────────────────────────────────────
if (!c.isCameraLocked && !c.isNavigating)
if (!c.isCameraLocked)
Positioned(
right: 16,
bottom: 250,
bottom: c.isNavigating ? 150 : 250,
child: _buildMapFAB(
icon: Icons.my_location_rounded,
onTap: () => c.relockCameraToUser(),