0. Fixed error when user clicks on the NAIP image

This commit is contained in:
Caleb Robinson 2018-12-16 14:18:13 -08:00
Родитель 852f7f5c95
Коммит 753c0fe67b
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -90,6 +90,5 @@ Copy the files from `//mslandcoverstorageeast.file.core.windows.net/chesapeake/d
- Need to make sure that the fix doesn't assume a fixed input size.
- `/predPatch` will probably _not_ work with other CRSs (besides EPSG:3857)
- `/predPatch` will probably _not_ fail in an useful way
- Clicking on the "NAIP Input" image in the web app doesn't behave as expected (it should either do nothing, or display the NAIP imagery on the map).
- We want the `backend_server.py` to be decoupled from the implementation of the code needed to run the model. The way this currently works (in `main()` of `backend_server.py`) is really hacky.

Просмотреть файл

@ -44,6 +44,12 @@
border-radius: 2px;
}
#inputNAIP{
width: 125px;
height: 125px;
margin: 10px;
}
.exampleImage{
width: 125px;
height: 125px;
@ -123,7 +129,7 @@
<div style="text-align: center; margin-bottom:10px;" id="inputImages">
<h3>NAIP Input</h3>
<img id="inputNAIP" class="exampleImage">
<img id="inputNAIP">
</div>
<div style="text-align: center; margin-bottom:10px; width:100%;" id="exampleImages">