paddings with units

This commit is contained in:
peterkogo
2025-03-25 13:10:13 +01:00
parent edf967b1ea
commit 1202c9a687
3 changed files with 91 additions and 10 deletions
+1 -2
View File
@@ -372,8 +372,7 @@ export async function fitViewport<
height,
options?.minZoom ?? minZoom,
options?.maxZoom ?? maxZoom,
options?.padding ?? 0.1,
options?.paddingUnit ?? '%'
options?.padding ?? 0.1
);
await panZoom.setViewport(viewport, { duration: options?.duration });