More work with active fires
This commit is contained in:
parent
8e4e469eb8
commit
ce2b65f1e0
5 changed files with 38 additions and 43 deletions
|
|
@ -25,8 +25,7 @@ Future<BasicLocation> openPlacesDialog(BuildContext context) async {
|
|||
PlacesDetailsResponse detail = await _places.getDetailsByPlaceId(p.placeId);
|
||||
final lat = detail.result.geometry.location.lat;
|
||||
final lng = detail.result.geometry.location.lng;
|
||||
|
||||
return new BasicLocation(lat: lat, lon: lng, description: p.description);
|
||||
}
|
||||
return null;
|
||||
return BasicLocation.noLocation;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue