aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/CurrentLocationMap.js
diff options
context:
space:
mode:
authorDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-09 19:19:34 +0000
committerDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-09 19:19:34 +0000
commitefe18c504a834760242937572b369530c552e589 (patch)
tree913c472f0fb37bd2ef47a5890e512ba41a5d8480 /modern/src/map/CurrentLocationMap.js
parent2a0705f1c26befa75703238462930847b18895e1 (diff)
parent627cf95d59f625dcb0544bfd4c067d99dee4bb93 (diff)
downloadtrackermap-web-efe18c504a834760242937572b369530c552e589.tar.gz
trackermap-web-efe18c504a834760242937572b369530c552e589.tar.bz2
trackermap-web-efe18c504a834760242937572b369530c552e589.zip
Merge remote-tracking branch 'upstream/master' into group-config
Diffstat (limited to 'modern/src/map/CurrentLocationMap.js')
-rw-r--r--modern/src/map/CurrentLocationMap.js4
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,