getMarkerIcon function
converter to asset files BitmapDescriptor.fromAssetImage,
Implementation
Future getMarkerIcon(Function converter, String imagePath) async {
final icon = await converter(
ImageConfiguration.empty,
imagePath,
);
return icon;
}