From 32bc4914759845516de2b7592b05afb3c3cc5c42 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 13 Apr 2025 13:36:12 +0200 Subject: Fix build error --- src/controls/LocateControl.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/controls/LocateControl.ts b/src/controls/LocateControl.ts index 8153cf1..b8c2d1d 100644 --- a/src/controls/LocateControl.ts +++ b/src/controls/LocateControl.ts @@ -26,10 +26,6 @@ export const EnhancedLocateControl = (props: EnhancedLocateControlProps) => { console.error('Error en la localización:', err); setLocationPermission(false); }, - onLocationFound: (e) => { - setUserLocation([e.latitude, e.longitude]); - setLocationPermission(true); - }, returnToPrevBounds: true, showPopup: false, }; -- cgit v1.3