FlatLabelAppearance

FlatLabelAppearance holds the appearance properties of flat labels to be set when labeling polygons

  • The amount of space to leave before starting the text (@default 5)

  • Text Color

  • How big to make the font. Defaults to 12 (@default 12)

  • The minimum percentage we can shrink the label to if it won’t fit within the bounds at 100%. If it doesn’t fit at that level, it won’t be created. (@default 0.25)

  • How much to decrement the scale each time it doesn’t fit, so we don’t end up with too many different font sizes on screen at once. If * you are only labeling a few Polygons rather than everything,you can set this and and scaleMin to 0.1 to fit everything except really long names perfectly.(@default 0.25)