Setting minimum and maximum font size is now better than ever, with an ability to control every object type on the map. This means that now you can define the minimum and maximum font size for every object type (Unit, Rooms, Building etc.).

For example, if you want to set the minimum and maximum font size to object type Unit, you can add following theme override. If you are not familiar with label styling, please refer our documentation section Style Map Labels

{
    "s": {
        "Unit": {
            "m": "#cec1a5",
            "o": "#b2a177",
            "l": "Modern",
            "w": 2
        }
    },
    "l": {
        "Modern":{
            "fill": "#ffffff",
            "minFont": 2,
            "maxFont": 10
        }
    }
}

This will set the min font size to 2 and max font size to 10 for all the Units on the map.