diff --git a/src/lib/islands/near-to-me-island.svelte b/src/lib/islands/near-to-me-island.svelte index 5aa2559..b0825f3 100644 --- a/src/lib/islands/near-to-me-island.svelte +++ b/src/lib/islands/near-to-me-island.svelte @@ -1,47 +1,53 @@ {#if !$location} -

Coming Soon

-

+

Coming soon

+ {:else if $location} -

Coming Soon

- {#await getCurrentLocation()} + {#await getNearestStations()}

Fetching Location

- {:then location} -

Lat: {location.latitude}, Long: {location.longitude}

+ {:then stations} + {#each stations as station} + {station.NLCDESC} - {station.miles}mi + {/each} {:catch err}

Error: {err.message}

{/await} {/if}
- \ No newline at end of file + + + \ No newline at end of file