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

a

parent 767a5e72
No related branches found
No related tags found
No related merge requests found
......@@ -683,9 +683,9 @@ export class BikeTrajectoryComponent implements OnInit {
console.log(fg.toGeoJSON());
let geojson = fg.toGeoJSON();
let dt = new Date();
let name = "test_IOP_"+dt.getTime();
let name = "bike_trajectory_"+dt.getTime();
console.log("upload_geojson::: name="+name);
this.putGeoJSONService.putGeoJSON(geojson,name).subscribe(
this.putGeoJSONService.putGeoJSON(geojson,name,this.city).subscribe(
res => {alert('geojson '+name+' added to storage.'); console.log("putGeoJSONService: SUCESS::: res="+JSON.stringify(res))},
err => {alert('ERROR!!!\ngeojson '+name+' NOT added to storage.');console.log("putGeoJSONService: ERROR::: err="+JSON.stringify(err));}
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment