More work with active fires

This commit is contained in:
vjrj 2018-06-09 17:25:55 +02:00
parent 8e4e469eb8
commit ce2b65f1e0
5 changed files with 38 additions and 43 deletions

View file

@ -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;
}