fix camera settings
This commit is contained in:
parent
24a5daaf9a
commit
ecfa3143ef
2 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
||||||
directionMarkers
|
directionMarkers
|
||||||
} = settings;
|
} = settings;
|
||||||
|
|
||||||
|
export let useHash = true;
|
||||||
export let options: EmbeddingOptions;
|
export let options: EmbeddingOptions;
|
||||||
export let hash: string;
|
export let hash: string;
|
||||||
|
|
||||||
|
@ -198,7 +199,7 @@
|
||||||
accessToken={options.token}
|
accessToken={options.token}
|
||||||
geocoder={false}
|
geocoder={false}
|
||||||
geolocate={false}
|
geolocate={false}
|
||||||
hash={false}
|
hash={useHash}
|
||||||
/>
|
/>
|
||||||
<OpenIn bind:files={options.files} />
|
<OpenIn bind:files={options.files} />
|
||||||
<LayerControl />
|
<LayerControl />
|
||||||
|
|
|
@ -281,7 +281,7 @@
|
||||||
{$_('embedding.preview')}
|
{$_('embedding.preview')}
|
||||||
</Label>
|
</Label>
|
||||||
<div class="relative h-[600px]">
|
<div class="relative h-[600px]">
|
||||||
<Embedding bind:options={iframeOptions} bind:hash />
|
<Embedding bind:options={iframeOptions} bind:hash useHash={false} />
|
||||||
</div>
|
</div>
|
||||||
<Label>
|
<Label>
|
||||||
{$_('embedding.code')}
|
{$_('embedding.code')}
|
||||||
|
|
Loading…
Reference in a new issue