Skip to content

Commit

Permalink
Remove user location history from selected case map view
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Mar 22, 2020
1 parent ae76062 commit 56df287
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/page/screen/selected_case_detail_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ class _SelectedCaseDetailScreenState extends State<SelectedCaseDetailScreen> {
position: LatLng(l.latitude, l.longitude));
}).toList();

locationMarkers.addAll(locations.map((l) {
return Marker(
icon: userIcon,
alpha: 0.5,
infoWindow: InfoWindow(
title: "You where there at ${dateFormat.format(l.date)}",
snippet: ""),
markerId: MarkerId("${l.date.millisecondsSinceEpoch}"),
position: LatLng(l.latitude, l.longitude));
}).toList(growable: false));
// locationMarkers.addAll(locations.map((l) {
// return Marker(
// icon: userIcon,
// alpha: 0.5,
// infoWindow: InfoWindow(
// title: "You where there at ${dateFormat.format(l.date)}",
// snippet: ""),
// markerId: MarkerId("${l.date.millisecondsSinceEpoch}"),
// position: LatLng(l.latitude, l.longitude));
// }).toList(growable: false));
});
});
});
Expand Down

0 comments on commit 56df287

Please sign in to comment.