@@ -42,7 +42,8 @@ Zoom,
};
export const getNormalizedZoom = (zoom: number): NormalizedZoomValue => {
- const normalizedZoom = parseFloat(zoom.toFixed(2));
+ // const normalizedZoom = parseFloat(zoom.toFixed(2));
+ const normalizedZoom = parseFloat(zoom.toFixed(3));
const clampedZoom = Math.max(0.1, Math.min(normalizedZoom, 10));
return clampedZoom as NormalizedZoomValue;