mapsService.Events.MapEvents.LoadError.AddListener(e => { if (e.DetailedErrorCode == DetailedErrorEnum.UnsupportedClientVersion) { log.Error("Update app to latest version"); return; }
// Retry up to 5 attempts. e.Retry = e.Attempts <= 5;
// Log to the console. if (e.Retry && e.IsRetriable) { log.Warning(e); } else { log.Error(e); } });
MapsService.MakeMapLoadRegion().AddViewport(Camera.main).Load(options);
MapsService.MakeMapLoadRegion().AddViewport(Camera.main).Load(options);
MapsService.MoveFloatingOrigin( new LatLng(51.5081, -0.0760), new GameObject[] {camera1, camera2});