From 692baed489ea2555bc35bf71ebbe1eeef16794e0 Mon Sep 17 00:00:00 2001 From: webgisdeveloper Date: Tue, 6 Apr 2021 10:57:16 -0400 Subject: [PATCH] #103 debug ... --- simccs_maptool/templates/simccs_maptool/build.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simccs_maptool/templates/simccs_maptool/build.html b/simccs_maptool/templates/simccs_maptool/build.html index 6d20d55..f025393 100644 --- a/simccs_maptool/templates/simccs_maptool/build.html +++ b/simccs_maptool/templates/simccs_maptool/build.html @@ -155,7 +155,7 @@ //dataurl = urlprefix + datameta["url"]; datastyle = entry['style']; popupfields = entry['popup']; - addcasedata(datameta,dataurl,datastyle,popupfields); + await addcasedata(datameta,dataurl,datastyle,popupfields); } // load cost surface addcostsurface(bbox); @@ -742,11 +742,11 @@ case_id = workspacejson["case"]; //console.log(case_id); // load case first - await set_casedata(case_id) => { + await set_casedata(case_id); // load scenarios for (const entry of workspacejson["scenarios"]) { re_create_scenario(entry); - } }; + } }