Skip to content
Snippets Groups Projects
Commit 1e45b6dd authored by Bhabesh Bhabani Mukhopadhyay's avatar Bhabesh Bhabani Mukhopadhyay
Browse files

#VOAPP-13 : Correction in GeoJSON creation

parent a84ae790
No related branches found
No related tags found
No related merge requests found
......@@ -225,11 +225,6 @@ export default{
return newId;
},
validatePOISave(poi)
{
},
/* initMap()
......@@ -378,16 +373,11 @@ export default{
})
});
let geoGSON = new GeoJSON();
let resultGeoGSON = geoGSON.writeFeatures(vectorLayer.getSource().getFeatures(), {
dataProjection : 'EPSG:4326',
featureProjection : 'EPSG:3857'
})
let resultGeoGSON = geoGSON.writeFeatures(vectorLayer.getSource().getFeatures());
This.poi.geoJSON = resultGeoGSON;
This.mapInit();
This.mapInit();
},
mapInit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment