File tree Expand file tree Collapse file tree
client-src/digitize-results
sketch_map_tool/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { getUUIDFromURL , poll , handleMainMessage } from "../shared" ;
22
33const vectorResultsUrl = `/api/status/${ getUUIDFromURL ( ) } /vector-results` ;
4- const centroidsResultsUrl = `/api/status/${ getUUIDFromURL ( ) } /centroid-results` ;
54const rasterResultsUrl = `/api/status/${ getUUIDFromURL ( ) } /raster-results` ;
65
76Promise . all ( [
87 poll ( rasterResultsUrl , "raster-data" ) ,
98 poll ( vectorResultsUrl , "vector-data" ) ,
10- poll ( centroidsResultsUrl , "centroid-data" ) ,
119] ) . then ( handleMainMessage ) ;
Original file line number Diff line number Diff line change 7878 <p class =" error hidden" >
7979 {{ _('Sorry! <br>Something went wrong while trying to generate the Result.') }}
8080 </p >
81- <p >
82- <a id =" vector-data-download-button" href =" #" download aria-busy =" true" role =" button" disabled =" disabled" >{{ _('Download Markings') }}</a >
83- </p >
84- <a id =" centroid-data-download-button" class =" outline" href =" #" download aria-busy =" true" role =" button" disabled =" disabled" >{{ _('Download Point GeoJSON') }}</a >
81+ <a id =" vector-data-download-button" href =" #" download aria-busy =" true" role =" button" disabled =" disabled" >{{ _('Download Markings') }}</a >
8582 <div id =" vector-data-status" class =" task-status" ></div >
86- <br >
87- <!-- JS polling function expects a status span for every request type. -->
88- <div id =" centroid-data-status" style =" display : none ;" ></div >
8983 </article >
9084 </div >
9185 </div >
You can’t perform that action at this time.
0 commit comments