0

can anyone help me please, I'm trying to implement google map in my flutter app, the problem I'm facing is the google map shows bland with google logo only. I have generated the key, inserted plugins but nothing seems to be working out.

I really need help

duncan
  • 31,401
  • 13
  • 78
  • 99
  • Can you show me your code? – pullidea-dev Jun 18 '21 at 22:21
  • class _MapAppState extends State { static const _initialCameraPosition = CameraPosition( target: LatLng(37.773972, -122.431297), zoom: 14.0, ); @override Widget build(BuildContext context) { return Scaffold( body: GoogleMap( myLocationButtonEnabled: false, zoomControlsEnabled: false, initialCameraPosition: _initialCameraPosition, )); } } – Precious Jun 18 '21 at 22:31
  • @Precious can you add your code to your question please, not as a comment? – duncan Jun 20 '21 at 18:17

1 Answers1

0

You need to add your Google maps API key in your AndroidManifest.xml as per the Google maps flutter documentation. Since you said that you have generated the key.

Huthaifa Muayyad
  • 11,321
  • 3
  • 17
  • 49