diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-04-13 13:36:12 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-04-13 13:36:12 +0200 |
| commit | 32bc4914759845516de2b7592b05afb3c3cc5c42 (patch) | |
| tree | e1a0c6a91cd966444e4b74a3d596d9c533ac5633 /src/controls | |
| parent | f5613dd62ffc00b8226b9c47dfe8da7a91a40e12 (diff) | |
Fix build error
Diffstat (limited to 'src/controls')
| -rw-r--r-- | src/controls/LocateControl.ts | 4 |
1 files changed, 0 insertions, 4 deletions
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, }; |
