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

new functionality related to newgeojson

parent f3398b0f
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,10 @@ export class GetNoiseComputationService{ ...@@ -20,6 +20,10 @@ export class GetNoiseComputationService{
return this.http.get<any>(`${this.apiURL}/webresources/getData/getMaps`); return this.http.get<any>(`${this.apiURL}/webresources/getData/getMaps`);
} }
getNewGeoJSONs(): Observable<any> {
return this.http.get<any>(`${this.apiURL}/webresources/getData/getNewGeoJSONs`);
}
getTraffics(): Observable<any> { getTraffics(): Observable<any> {
return this.http.get<any>(`${this.apiURL}/webresources/getData/getTraffics`); return this.http.get<any>(`${this.apiURL}/webresources/getData/getTraffics`);
} }
...@@ -44,6 +48,7 @@ export class GetNoiseComputationService{ ...@@ -44,6 +48,7 @@ export class GetNoiseComputationService{
let content = JSON.stringify(input); let content = JSON.stringify(input);
return this.http.put<any>(`${this.apiURL}/webresources/putCommands/createModel`,content); return this.http.put<any>(`${this.apiURL}/webresources/putCommands/createModel`,content);
} }
eraseModel(input:any): Observable<any> { eraseModel(input:any): Observable<any> {
let content = JSON.stringify(input); let content = JSON.stringify(input);
return this.http.put<any>(`${this.apiURL}/webresources/putCommands/eraseModel`,content); return this.http.put<any>(`${this.apiURL}/webresources/putCommands/eraseModel`,content);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment