jq_map.empty(); // once parsed, remove geojson string from the map element.
var json_js = JSON.parse(json_string);
var format_geojson = new ol.format.GeoJSON();
- var features_all = format_geojson.readFeatures(json_js);
+ var features_all = format_geojson.readFeatures(json_js, {dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'});
// extract, tranform and split features to layers
/*