diff options
Diffstat (limited to 'modern/src/map/CurrentLocationMap.js')
-rw-r--r-- | modern/src/map/CurrentLocationMap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/map/CurrentLocationMap.js b/modern/src/map/CurrentLocationMap.js index 31e6e285..06aaad0f 100644 --- a/modern/src/map/CurrentLocationMap.js +++ b/modern/src/map/CurrentLocationMap.js @@ -1,10 +1,10 @@ -import mapboxgl from 'mapbox-gl'; +import maplibregl from 'maplibre-gl'; import { useEffect } from 'react'; import { map } from './Map'; const CurrentLocationMap = () => { useEffect(() => { - const control = new mapboxgl.GeolocateControl({ + const control = new maplibregl.GeolocateControl({ positionOptions: { enableHighAccuracy: true, timeout: 5000, |