onMapCreated method
- GoogleMapController controller
The onMapCreated function is called when the map is created. It sets the mapController and moves the camera to the current location. It also updates the circles on the map. @param controller The GoogleMapController object. {@category Functions}
Implementation
void onMapCreated(GoogleMapController controller) {
setState(() {
mapController = controller;
moveToCurrentLocation();
updateCircles();
});
}