Optimize font sizes for city outlines

This commit is contained in:
Markus Koch 2020-04-26 18:48:18 +02:00
parent 2e67f22044
commit c7c4975a57

View File

@ -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;