This commit is contained in:
parent
bd12df0b8a
commit
094dd5b070
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
||||||
maximumAge: 0,
|
maximumAge: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
function success(pos) {
|
function success(pos: GeolocationPosition) {
|
||||||
const crd = pos.coords;
|
const crd = pos.coords;
|
||||||
|
|
||||||
let string = "";
|
let string = "";
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
await watchPosition();
|
await watchPosition();
|
||||||
leaflet = await import('leaflet');
|
leaflet = await import('leaflet');
|
||||||
|
|
||||||
renderMap()
|
renderMap();
|
||||||
});
|
});
|
||||||
|
|
||||||
onDestroy(async () => {
|
onDestroy(async () => {
|
||||||
|
|
Loading…
Reference in a new issue