createMarkerAnnotation method
Implementation
MarkerAnnotation createMarkerAnnotation({
required String id,
required Offset position,
MarkerType markerType = MarkerType.info,
double size = 24.0,
Color color = Colors.red,
String? tooltip,
}) {
return MarkerAnnotation(
id: id,
position: position,
markerType: markerType,
markerSize: size,
color: color,
tooltip: tooltip,
);
}