Skip to content

Commit 46fefd3

Browse files
committed
remove hack for background location sync, works automatically now
1 parent 90fa120 commit 46fefd3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

proxy/js/ui.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,6 @@ const backgroundMap = new maplibregl.Map({
431431
});
432432
updateBackgroundMapContainer();
433433

434-
// Process the current state of the URL hash once onto the background map
435-
const backgroundHash = new maplibregl.Hash('view').addTo(backgroundMap);
436-
backgroundHash._onHashChange();
437-
backgroundHash.remove();
438-
439434
const map = new maplibregl.Map({
440435
container: 'map',
441436
hash: 'view',

0 commit comments

Comments
 (0)