Add support for nautical units to the embedding view and embedding playground.
This commit is contained in:
parent
301b45e31c
commit
91fa50b22c
2 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export type EmbeddingOptions = {
|
|||
},
|
||||
distanceMarkers: boolean,
|
||||
directionMarkers: boolean,
|
||||
distanceUnits: 'metric' | 'imperial',
|
||||
distanceUnits: 'metric' | 'imperial' | 'nautical',
|
||||
velocityUnits: 'speed' | 'pace',
|
||||
temperatureUnits: 'celsius' | 'fahrenheit',
|
||||
theme: 'system' | 'light' | 'dark',
|
||||
|
|
|
|||
|
|
@ -221,6 +221,10 @@
|
|||
<RadioGroup.Item value="imperial" id="imperial" />
|
||||
<Label for="imperial">{$_('menu.imperial')}</Label>
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<RadioGroup.Item value="nautical" id="nautical" />
|
||||
<Label for="nautical">{$_('menu.nautical')}</Label>
|
||||
</div>
|
||||
</RadioGroup.Root>
|
||||
</Label>
|
||||
<Label class="flex flex-col items-start gap-2">
|
||||
|
|
|
|||
Loading…
Reference in a new issue