showLocationPopUp function
Implementation
Future<void> showLocationPopUp(GeoPoint geoPoint, String? addr) async {
var googleUrl = getGoogleMapsUrl(geoPoint);
if (await canLaunchUrl(Uri.parse(googleUrl))) {
await launchUrl(Uri.parse(googleUrl));
} else {
throw 'Could not open the map.';
}
}