Remove country in autocomplete
This commit is contained in:
parent
188a9bc249
commit
ff455964e2
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ Future<BasicLocation> openPlacesDialog(BuildContext context) async {
|
|||
mode: _mode,
|
||||
// FIXME
|
||||
language: "es",
|
||||
components: [new Component(Component.country, "es")]);
|
||||
components: [
|
||||
// This limit the search too much
|
||||
// new Component(Component.country, "es")
|
||||
]);
|
||||
if (p != null) {
|
||||
// get detail (lat/lng)
|
||||
PlacesDetailsResponse detail = await _places.getDetailsByPlaceId(p.placeId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue