onMapCreated method
void
onMapCreated(
- AMapController controller
Implementation
void onMapCreated(AMapController controller) {
_mapController = controller;
if (widget.needLocate) {
_location?.setLocationOption(AMapLocationOption());
_location?.startLocation();
}
}