diff options
author | Markus Koch <markus@notsyncing.net> | 2020-04-26 18:48:18 +0200 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2020-04-26 18:48:18 +0200 |
commit | c7c4975a571d1974d3807755a064d8489b60ffa4 (patch) | |
tree | c45a4392dbccf760bb530dd68bdad7bb3fe5aa0e /htdocs/mapscript.js | |
parent | 2e67f22044c0629749414c28cc878ba244e7a354 (diff) | |
download | lifomapserver-c7c4975a571d1974d3807755a064d8489b60ffa4.tar.gz lifomapserver-c7c4975a571d1974d3807755a064d8489b60ffa4.tar.bz2 lifomapserver-c7c4975a571d1974d3807755a064d8489b60ffa4.zip |
Optimize font sizes for city outlines
Diffstat (limited to 'htdocs/mapscript.js')
-rw-r--r-- | htdocs/mapscript.js | 6 |
1 files 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; |