update NetDetailModal

This commit is contained in:
2025-11-04 14:18:30 +07:00
parent f3ad6e02f2
commit e535aaa1e8
7 changed files with 302 additions and 61 deletions

View File

@@ -47,11 +47,11 @@ export const PolygonWithLabel: React.FC<PolygonWithLabelProps> = ({
const labelFontSize = calculateFontSize(12);
const contentFontSize = calculateFontSize(10);
console.log("zoom level: ", zoomLevel);
// console.log("zoom level: ", zoomLevel);
const paddingScale = Math.max(Math.pow(2, (zoomLevel - 10) * 0.2), 0.5);
const minWidthScale = Math.max(Math.pow(2, (zoomLevel - 10) * 0.25), 0.9);
console.log("Min Width Scale: ", minWidthScale);
// console.log("Min Width Scale: ", minWidthScale);
return (
<>