You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
I've downloaded the example project folder but I wasn't able to make it work (both on android and iOS)..
The project compiles without errors and the application launches as expected but the map won't show, and an exception for the http request is thrown with statusCode 403.
I'm using an unrestricted API key, and I'm certain it works, cause I've tested it on another Android project and the map is loaded.
That typically means that the API key is not set. You need to do that view the MapView API. For running on Android, you also have to add the API key to the AndroidManifest.xml
Thanks for the quick response, my problem was that I didn't enable "Google Static Maps API". You should add that to the readme cause it's only on the code.
Has anyone found a work around? The example works for me sometimes and sometimes not.
Most of the time I get the 403 when it request the static map.
Here's my flutter info:
[✓] Flutter (Channel master, v0.10.2-pre.99, on Mac OS X 10.13.6 17G65, locale en-US)
• Flutter version 0.10.2-pre.99 at /Users/jchasecrafton/flutter
• Framework revision c319b890b3 (13 days ago), 2018-10-29 19:44:36 -0700
• Engine revision 162b2e98c0
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)
Activity
matthewtsmith commentedon Mar 26, 2018
That typically means that the API key is not set. You need to do that view the MapView API. For running on Android, you also have to add the API key to the AndroidManifest.xml
nunorpg commentedon Mar 27, 2018
Thanks for the quick response, my problem was that I didn't enable "Google Static Maps API". You should add that to the readme cause it's only on the code.
zsyphon commentedon Nov 12, 2018
Has anyone found a work around? The example works for me sometimes and sometimes not.
Most of the time I get the 403 when it request the static map.
Here's my flutter info:
[✓] Flutter (Channel master, v0.10.2-pre.99, on Mac OS X 10.13.6 17G65, locale en-US)
• Flutter version 0.10.2-pre.99 at /Users/jchasecrafton/flutter
• Framework revision c319b890b3 (13 days ago), 2018-10-29 19:44:36 -0700
• Engine revision 162b2e98c0
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)