summaryrefslogtreecommitdiff
path: root/htdocs/mapscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/mapscript.js')
-rw-r--r--htdocs/mapscript.js6
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;