fix camera settings

This commit is contained in:
vcoppe
2024-07-12 18:18:59 +02:00
parent 24a5daaf9a
commit ecfa3143ef
2 changed files with 3 additions and 2 deletions

View File

@@ -28,6 +28,7 @@
directionMarkers
} = settings;
export let useHash = true;
export let options: EmbeddingOptions;
export let hash: string;
@@ -198,7 +199,7 @@
accessToken={options.token}
geocoder={false}
geolocate={false}
hash={false}
hash={useHash}
/>
<OpenIn bind:files={options.files} />
<LayerControl />

View File

@@ -281,7 +281,7 @@
{$_('embedding.preview')}
</Label>
<div class="relative h-[600px]">
<Embedding bind:options={iframeOptions} bind:hash />
<Embedding bind:options={iframeOptions} bind:hash useHash={false} />
</div>
<Label>
{$_('embedding.code')}