diff --git a/place_tracker/lib/place_map.dart b/place_tracker/lib/place_map.dart index 60f54864d..82c237e7f 100644 --- a/place_tracker/lib/place_map.dart +++ b/place_tracker/lib/place_map.dart @@ -406,10 +406,10 @@ class _PlaceMapState extends State { Future _getPlaceMarkerIcon(PlaceCategory category) => switch (category) { - PlaceCategory.favorite => BitmapDescriptor.fromAssetImage( + PlaceCategory.favorite => BitmapDescriptor.asset( createLocalImageConfiguration(context, size: const Size.square(32)), 'assets/heart.png'), - PlaceCategory.visited => BitmapDescriptor.fromAssetImage( + PlaceCategory.visited => BitmapDescriptor.asset( createLocalImageConfiguration(context, size: const Size.square(32)), 'assets/visited.png'), PlaceCategory.wantToGo => Future.value(BitmapDescriptor.defaultMarker),