feat(svelte) add attributionPosition and proOptions, closes #3424

This commit is contained in:
Peter
2023-09-25 10:00:38 +02:00
parent 1a935de3f9
commit 8100390142
3 changed files with 9 additions and 2 deletions
@@ -54,6 +54,8 @@
export let autoPanOnConnect: $$Props['autoPanOnConnect'] = true;
export let autoPanOnNodeDrag: $$Props['autoPanOnNodeDrag'] = true;
export let onError: $$Props['onError'] = undefined;
export let attributionPosition: $$Props['attributionPosition'] = undefined;
export let proOptions: $$Props['proOptions'] = undefined;
export let defaultMarkerColor = '#b1b1b7';
@@ -170,7 +172,7 @@
<UserSelection />
</Pane>
</Zoom>
<Attribution />
<Attribution {proOptions} position={attributionPosition} />
<slot />
</div>