NavigateToCurrentLocation method
Implementation
@override
void NavigateToCurrentLocation() {
double lat = Configuration.Engine.CurrentLocation?.lat ?? 0;
double lng = Configuration.Engine.CurrentLocation?.lng ?? 0;
_controller.fitCamera(
CameraFit.coordinates(
maxZoom: Settings != null ? Settings!.InitialZoom : 13,
coordinates: [
LatLng(lat, lng),
LatLng(lat + 0.000001, lng + 0.000001),
]),
);
}