Skip to content
Snippets Groups Projects
Commit 871facde authored by Olabarrieta Palacios, Ignacio's avatar Olabarrieta Palacios, Ignacio
Browse files

a

parent 4ca66227
No related branches found
No related tags found
No related merge requests found
...@@ -291,6 +291,7 @@ export class NoiseCompComponent implements OnInit { ...@@ -291,6 +291,7 @@ export class NoiseCompComponent implements OnInit {
getNewGeoJSONS0(data,ttype){ getNewGeoJSONS0(data,ttype){
var select = document.getElementById("newgeojson_combo"); var select = document.getElementById("newgeojson_combo");
select.innerHTML = ""; select.innerHTML = "";
if ( data != null ){
console.log('getNewGeoJSONS0::: data='+JSON.stringify(data)); console.log('getNewGeoJSONS0::: data='+JSON.stringify(data));
this.newgeojson_names = []; this.newgeojson_names = [];
for(var i = 0; i < data.length; i++) { for(var i = 0; i < data.length; i++) {
...@@ -304,6 +305,7 @@ export class NoiseCompComponent implements OnInit { ...@@ -304,6 +305,7 @@ export class NoiseCompComponent implements OnInit {
console.log("getNewGeoJSONS0::: value="+el.value); console.log("getNewGeoJSONS0::: value="+el.value);
select.appendChild(el); select.appendChild(el);
}; };
}
if ( ttype === 1 ){ if ( ttype === 1 ){
this.getMapsFromDB(ttype); this.getMapsFromDB(ttype);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment