countryLayer = {
let options = {
dataProjection: 'EPSG:4326',
featureProjection: 'EPSG:3857',
};
let vectorSource = new ol.source.Vector({
features: (new ol.format.GeoJSON()).readFeatures(world, options)
});
let vectorLayer = new ol.layer.Vector({
source: vectorSource,
style: styleFunction
});
map.addLayer(vectorLayer);
return vectorLayer;
}