setMapLabelFont
Changes the styling of labels on the map.
Parameters
typeface
The typeface used for the font
Deprecated
Setting label color and halo globally has been deprecated, use [MPDisplayRule.setLabelStyleTextColor] and [MPDisplayRule.setLabelStyleHaloColor] to set it for individual rules instead
Replace with
setMapLabelFont(typeface)Content copied to clipboard
Changes the styling of labels on the map.
Parameters
typeface
The typeface used for the font (Only works on Google Maps)
color
The color of the label text
showHalo
Whether the label should have a halo around the text