can now specify geojson bounds for upload.

changed how to get agents for haulmkilling.
This commit is contained in:
2021-04-11 17:22:19 +02:00
parent a94fb260c8
commit beaf00a043
5 changed files with 24 additions and 39 deletions

View File

@@ -132,11 +132,11 @@ namespace FarmmapsHaulmkilling
}
var selectedAgent = agents[0];
var selectedOption = selectedAgent.SupportedOptions[0];
var selectedOption = selectedAgent.ValidOptions[0];
_logger.LogInformation("Calculating application map");
var applianceMapItem = await _haulmkillingService.CalculateApplicationMapAsync(cropfieldItem,
firstSatelliteItem, inputType, selectedAgent.Name, selectedOption);
firstSatelliteItem, inputType, selectedOption, selectedAgent);
if (applianceMapItem == null)
{
return;