RyMaX
Results
2
comments of
RyMaX
``` import { onMount } from "svelte"; onMount(() => { window.scrollTo(0, 0); }); ```
its working! ```js let route = JSON.parse(...); route.inputWaypoints.map(e => e.latLng = L.latLng([e.latLng.lat, e.latLng.lng])); // **fix latLng** control.setAlternatives([route]); ```