Skip to content
Snippets Groups Projects
Commit 53c4993a authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

First working interactive version of the saddle gall midge model

parent 71c2be82
No related branches found
No related tags found
2 merge requests!13Saddlegallmidge form idec 372,!12feat: Add test page (spatial) with mapserver layer in openlayers map
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
......@@ -164,10 +164,10 @@
}
// TODO: Remove this auto-mock!!
editor.getValue().optionalData.startDate="2023-08-01";
/*editor.getValue().optionalData.startDate="2023-08-01";
editor.getValue().optionalData.endDate="2023-08-19";
document.getElementById("longitude").value="11.781989";
document.getElementById("latitude").value="59.680468";
document.getElementById("latitude").value="59.680468";*/
//submitData();
}
......@@ -479,7 +479,8 @@
}
}
// Ready to call server?
let result = mockResult;
//let result = mockResult;
let result = await runModel(currentModelMetaData.execution.endpoint, inputData)
displayResult(result);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment