setMapLabelFont method

MPMapConfig setMapLabelFont(
  1. String typeface,
  2. String color,
  3. bool showHalo
)

Changes the font of the maps marker labels

Change the typeface (the typeface must be supported on the native platform). Change the color with a Hex color String (#1f1f1f) Change whether the text will have a white shadow

Implementation

MPMapConfig setMapLabelFont(String typeface, String color, bool showHalo) {
  _typeface = typeface;
  _color = color;
  _showHalo = showHalo;
  return this;
}