I try to create a story map using the application developed by Jakob Zhao https://github.com/jakobzhao/storymap. For import WFS layer, with leaflet.ajax, he write :
var layers = {
'layer 2': [ L.geoJson.ajax('http://mapious.ceoas.oregonstate.edu/geoserver/mapious/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ore_counties&outputFormat=application%2Fjson', {color: 'orange', weight: 5})]
};
And me, with qgis server and not geoserver, I tried :
var layers = {
'layer 4': [ L.geoJson.ajax('http://localhost/cgi-bin/project/qgis_mapserv.fcgi?service=WFS&version=1.0.0&request=GetFeature&typeName=pop2010&srsname=EPSG:3857&outputFormat=GeoJSON', {color: 'orange'})],
};
But it's not working.