Google Map

This Flutter project used Google map feature, So you must change API_KEY by yours.

  1. How to generate API key For google map [ read this ] http://blog.dream-space.web.id/?p=89 # After you get the APIKEY you can placed you API key at android project lib/data/my_strings.dart

// GOOGLE API KEY STRING API KEY FOR MAP
static const String MAP_API_KEY = "AIzaSyBiB9CCaRZ.......";

For page_maps.dart you need to change zooming location with your own city latitude longitude.

You can change at lib/data/constant.dart

// for map zoom
static const double cityLat = -6.9174639;
static const double cityLng = 107.6191228;

Last updated

Was this helpful?