Optimize font sizes for city outlines
This commit is contained in:
parent
2e67f22044
commit
c7c4975a57
@ -54,13 +54,13 @@ streetLabelsRenderer._getDynamicFontSize = function (layer) {
|
|||||||
case "city":
|
case "city":
|
||||||
break;
|
break;
|
||||||
case "town":
|
case "town":
|
||||||
size *= 2/3;
|
size *= 2.0/3.0;
|
||||||
break;
|
break;
|
||||||
case "village":
|
case "village":
|
||||||
size *= 1/3;
|
size *= 1.5/3;
|
||||||
break;
|
break;
|
||||||
case "district":
|
case "district":
|
||||||
size *= 2/3;
|
size *= 2.0/3;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
size *= 0.5/3;
|
size *= 0.5/3;
|
||||||
|
Loading…
Reference in New Issue
Block a user