From 2aee0f7fbc5ee0d96a8e8359b1f27b2a67b67f8f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 25 Nov 2025 15:54:32 +0000 Subject: [PATCH 1/2] Initial plan From 1ae1c50dc1e1374f6001ce2845751a53b826eaff Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 25 Nov 2025 16:01:03 +0000 Subject: [PATCH 2/2] Make sizeBasis property optional in IconLayer type definition Co-authored-by: chrisgervang <2461547+chrisgervang@users.noreply.github.com> --- modules/layers/src/icon-layer/icon-layer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/layers/src/icon-layer/icon-layer.ts b/modules/layers/src/icon-layer/icon-layer.ts index 8bb5b33e15d..8f86ec84f56 100644 --- a/modules/layers/src/icon-layer/icon-layer.ts +++ b/modules/layers/src/icon-layer/icon-layer.ts @@ -46,7 +46,7 @@ type _IconLayerProps = { /** * The dimension to scale the image */ - sizeBasis: 'height' | 'width'; + sizeBasis?: 'height' | 'width'; /** * The minimum size in pixels. When using non-pixel `sizeUnits`, this prop can be used to prevent the icon from getting too small when zoomed out. */