File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1408,6 +1408,8 @@ function thematicDataSourceAndTableTypeDropdownOnchange() {
14081408 if ( thematicDataSourceDropdown . value === "Embedded" ) {
14091409 thematicTableTypeDropdownDiv . style . display = "none" ;
14101410 thematicDataUrlDiv . style = "display: none;" ;
1411+ addLayerViewModel . tableType = "Horizontal" ;
1412+ addLayerViewModel . thematicDataUrl = "" ;
14111413 } else if ( thematicDataSourceDropdown . value === "OGCFeatureAPI" ) {
14121414 thematicTableTypeDropdownDiv . style . display = "none" ;
14131415 thematicDataUrlDiv . style . display = "" ;
@@ -1422,8 +1424,8 @@ function thematicDataSourceAndTableTypeDropdownOnchange() {
14221424 const selectedTableType = tableTypeDropdown . options [ tableTypeDropdown . selectedIndex ] == null ? ""
14231425 : tableTypeDropdown . options [ tableTypeDropdown . selectedIndex ] . value ;
14241426
1425- addLayerViewModel [ " thematicDataSource" ] = selectedThematicDataSource ;
1426- addLayerViewModel [ " tableType" ] = selectedTableType ;
1427+ addLayerViewModel . thematicDataSource = selectedThematicDataSource ;
1428+ addLayerViewModel . tableType = selectedTableType ;
14271429
14281430 // if (selectedThematicDataSource == "GoogleSheets") {
14291431 // document.getElementById("rowGoogleSheetsApiKey").style.display = "table-row";
You can’t perform that action at this time.
0 commit comments