removeMarker method

Future<void> removeMarker({
  1. String? title,
  2. required Coordinate position,
})

To Remove a marker by the given position and/or title

Implementation

Future<void> removeMarker(
    {String? title, required Coordinate position}) async {
  await _methodChannel.invokeMethod(
      'removeMarker', {"title": title, "position": position.toMap()});
}