setLabelOptions method

Future<void> setLabelOptions({
  1. num? textSize,
  2. String? color,
  3. bool showHalo = false,
})

Change the appearance of the labels of POIs.

textSize changes the size of the text in pts. color changes the color of the text in RGB format. showHalo enables/disables the white halo around the text.

If any value is null, the corresponding field will not be updated.

Implementation

Future<void> setLabelOptions(
    {num? textSize, String? color, bool showHalo = false}) {
  return MapcontrolPlatform.instance
      .setLabelOptions(textSize, color, showHalo);
}