I've enabled the plugin qgis2web, after getting one WFS layer in to QGIS I started the gis2web plugin. Because it is a WFS layer and I want leaflet to use that WFS I don't check the Encode to JSON option.

The preview shows only the base layer. If I do enable the Encode to JSON option, my layer does show.

I've tried with different WFS-services in QGIS 2.10.0

What am I doing wrong?


This could be because I've coded the WFS support to work with JSONP from Geoserver. If your WFS is not Geoserver, it probably won't work. I've also just released 0.36.0 which now supports Geoserver WFS in OL3 exports.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.