All Questions
Tagged with google-places-api flutter
97
questions
1
vote
2
answers
45
views
How can I use Dart to save an image from an API request?
I am using Google Maps Places API to find images of nearby places. However, I find it very inefficient and more expensive to constantly be reloading images I've already loaded in the past by making a ...
0
votes
0
answers
19
views
Using sessiontoken in Google Places API and flutter
I am using the Places API to fetch information about certain cities in my app.
Everything is working fine so far except for the billing view. I also use dio for the http requests.
Here is how I add ...
0
votes
0
answers
40
views
flutter_google_places freezes screen (Flutter)
I have the following floating button working with flutter_google_places:
FloatingActionButton.small(
heroTag: 'places2',
onPressed: () async {
final sessionToken =...
0
votes
1
answer
180
views
Flutter Google Places API Authorization Error
I have a Flutter application that utilizes Google Maps for displaying maps and making calls to the Places API to retrieve nearby stores based on the user's location. During development I did not ...
1
vote
1
answer
45
views
to minimize the billing i need to add a field mask in the flutter code but when i add field mask the method not working
i only want to call Basic Data form google autocomplete Api to minimize the billing i need to add a field mask, I only want to get the coordinates using the place id normally method is working but ...
3
votes
1
answer
152
views
How to add field Mask in GoogleApis Places
import 'package:googleapis/places/v1.dart';
import 'package:googleapis_auth/googleapis_auth.dart';
final http.Client client = clientViaApiKey(apikey);
final PlacesApi places = PlacesApi(client);
...
0
votes
1
answer
41
views
Marker list conversion for google maps api end with the Error (type '_Map<String, dynamic>' is not a subtype of type 'String')
I'm using the Google New Nearby Search API to generate a list of markers of places around me and I'm getting this error
type '\\\_Map\\\<String, dynamic\\\>' is not a subtype of type 'String'
I'...
-1
votes
1
answer
183
views
flutter google maps nearby search api type '_Map<String, dynamic>' is not a subtype of type 'String'
I'm using the Google New Nearby Search API to generate a list of markers of places around me and I'm getting this error
type '_Map<String, dynamic>' is not a subtype of type 'String'
I'm new ...
1
vote
0
answers
502
views
How to solve CORS issue when hitting google map api from flutter web?
I am using Google map API for Location Autocomplete feature. To fetch the locations I use https://maps.googleapis.com/maps/api/place/autocomplete/jsontype=geocode&language=de&key=API_KEY&...
0
votes
2
answers
1k
views
CocoaPods could not find compatible versions for pod "flutter_google_places_sdk_ios"
[!] CocoaPods could not find compatible versions for pod "flutter_google_places_sdk_ios":
In Podfile:
flutter_google_places_sdk_ios (from .symlinks/plugins/flutter_google_places_sdk_ios/ios)
...
1
vote
0
answers
79
views
how to make the google places suggestion list disappear
When i select a place from google map place autocomplete, the suggestion list does not disappear
class FormDetail2 extends StatefulWidget {
const FormDetail2(
{Key? key, required this.onNext2, ...
0
votes
1
answer
2k
views
FLUTTER WEB: How To Use Google Places Autocomplete In Flutter Web?
I used almost every package for places auto complete, I am getting cross error. Please let me know if there is any way to use places autocomplete In Android, iOS and web together.
var p = await ...
2
votes
1
answer
914
views
Flutter and google places API results
hope someone can help me with this.
I've managed to return search autocomplete results and for the most part everything is ok and results are almost restricted to the area but ocassionaly I get areas ...
0
votes
0
answers
43
views
Is there any way to display exact address from google map place api?
I got vicinity(address) from google map api in flutter but this vicinity contains extra keywords including number,operator etc(like QCPM+777, XYZ). All, i want to display only exact address (XYZ) ...
0
votes
0
answers
27
views
ListView.builder returns a blank ModalBottomSheet, Google Places API
This code returns a blank ModalBottomSheet. No error, just no content on the bottom sheet. _placeModel is a model object that should return data from Google Places API like address, website, etc.
...