Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geocoder2.getCoordinatesFromAddress returns Request Denied #1

Open
aden-collector opened this issue Dec 22, 2021 · 0 comments
Open

Comments

@aden-collector
Copy link

I wrote an app that uses google search places. My app used geocoder package to get coordinate of the address. I'm converting my app to use null safety so I am using Geocoder2.

I'm using the function call in the documentation:

fetchGeocoder = await Geocoder2.getCoordinatesFromAddress(
address: "277 Bedford Ave, Brooklyn, NY 11211, USA",
//address: city + "," + state,
googleMapApiKey: AppData().getAPIKey());

fetchGeocoder returns "Request Denied". I store the API key in a custom call. This is retrieved by AppData().getAPIKey().

I am sure the API key is correct because I use the AppData().getAPIKey() in the google place search function call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant