simplify map location restore, see #9146

This commit is contained in:
Martin Raifer
2022-07-19 12:02:03 +02:00
parent 981628bfd1
commit 67c65887b6
2 changed files with 16 additions and 22 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ export function uiInit(context) {
ui.hash = behaviorHash(context);
ui.hash();
if (!ui.hash.hadHash) {
if (!ui.hash.hadLocation) {
map.centerZoom([0, 0], 2);
}