Keep locate control active when zooming

pull/271/head
Candid Dauth 2024-04-26 12:33:39 +02:00
rodzic 4152c667bf
commit 19a8e9f770
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -215,6 +215,7 @@ function useLocateControl(map: Ref<Map>, context: FacilMapContext): Ref<Raw<Cont
outOfView: "setView",
inViewNotFollowing: "outOfView"
},
setView: "untilPan",
// These class names are not used anywhere, we just set them to avoid the default class names being set,
// which would apply the default icons using CSS.
icon: "fm-locate-control-icon",