onLocationSelect function
handles the selection of a location
Implementation
void onLocationSelect(BuildContext context, LatLng point,
{String? displayName, String? label}) {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SelectedLocation(
displayName ?? AllText().YOUR_LOCATION,
point,
label: label,
)));
}