feat: fetch metadata from pmtiles
This commit is contained in:
@ -182,8 +182,8 @@
|
||||
{(location.speed * 3.6 | 0).toFixed(0)}
|
||||
</div>
|
||||
{/if}
|
||||
{#if getRoadMetadata()}
|
||||
{@const meta = getRoadMetadata()!}
|
||||
{#if getRoadMetadata().current}
|
||||
{@const meta = getRoadMetadata().current!}
|
||||
{#if meta.maxspeed}
|
||||
{@const maxspeed = getSpeed(meta.maxspeed)}
|
||||
{#if maxspeed && maxspeed < 100}
|
||||
|
||||
Reference in New Issue
Block a user