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

I'm trying to display polylines as per Google road map on my flutter app using authorized google key which is working fine in android app. But In flutter app it's showing unauthorised key. #45

Closed
bhagyashrieducloud opened this issue Feb 16, 2021 · 2 comments

Comments

@bhagyashrieducloud
Copy link

I'm using google_maps_flutter: ^0.5.11+1 and flutter_polyline_points: ^0.1.0 plugin.

When i'm debugging internal libraries i'm getting following errors in response ->
{
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address 2405:204:969c:11f6::24b9:a8a4, with empty referer",
"routes" : [],
"status" : "REQUEST_DENIED"
}

My code is in this file->
Google_Map_Page.txt

@xlfdyzcs
Copy link

@xlfdyzcs
Copy link

https://developers.google.com/maps/documentation/directions/cloud-setup

根据上面的说明,在
imagec此处允许 directions api

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

2 participants