addMarker method
- String? title,
- required Coordinate position,
To Draw a marker on the given position
Implementation
Future<void> addMarker({String? title, required Coordinate position}) async {
await _methodChannel.invokeMethod('addMarker', {
"title": title,
"position": position.toMap(),
});
}