|
|
|
|
@ -194,7 +194,11 @@ class _MapTrackingPageState extends State<MapTrackingPage> {
|
|
|
|
|
if (hasAssetPosition)
|
|
|
|
|
Marker(
|
|
|
|
|
point: LatLng(assetLocation!.latitude!, assetLocation.longitude!),
|
|
|
|
|
child: const Icon(Icons.location_pin, color: AppColor.red30),
|
|
|
|
|
child: Tooltip(
|
|
|
|
|
triggerMode: TooltipTriggerMode.tap,
|
|
|
|
|
message: "${widget.assetTrackingData?.label ?? ''}\nLast seen: ${widget.assetTrackingData?.location?.lastSeen?.toServiceRequestDetailsFormat}",
|
|
|
|
|
child: const Icon(Icons.location_pin, color: AppColor.red30),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
];
|
|
|
|
|
});
|
|
|
|
|
|