You can find more information about this | Create a new Flutter project |
---|---|
mapController would be used to control the camera position of the map view | Enabling APIs In order to use Google Maps in your app, you will need to enable Maps SDK for both platforms |
myLocationButtonEnabled: This button is used to bring the user location to the center of the camera view.
Enter your Google account details email address and password to sign in | , After drawing the route, the app will look like this: Calculating Distance You have arrived to the last phase of this project |
---|---|
If this is your first time opening the app, you will be required to log into your Google account | Since figuring out the geographic coordinates can be pretty complicated, we will use geocoding |
Actually, both markers are added to the map, but only one of them is visible because the other one is out of the view.
19