kopia lustrzana https://github.com/FacilMap/facilmap
Do not change zoom level in locate control
rodzic
19a8e9f770
commit
8a12ce3984
|
@ -216,6 +216,7 @@ function useLocateControl(map: Ref<Map>, context: FacilMapContext): Ref<Raw<Cont
|
|||
inViewNotFollowing: "outOfView"
|
||||
},
|
||||
setView: "untilPan",
|
||||
keepCurrentZoomLevel: true,
|
||||
// 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",
|
||||
|
|
Ładowanie…
Reference in New Issue