From c7c4975a571d1974d3807755a064d8489b60ffa4 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 26 Apr 2020 18:48:18 +0200 Subject: [PATCH] Optimize font sizes for city outlines --- htdocs/mapscript.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index 40d48ab..30e066a 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -54,13 +54,13 @@ streetLabelsRenderer._getDynamicFontSize = function (layer) { case "city": break; case "town": - size *= 2/3; + size *= 2.0/3.0; break; case "village": - size *= 1/3; + size *= 1.5/3; break; case "district": - size *= 2/3; + size *= 2.0/3; break; default: size *= 0.5/3;