{"action":"created","issue":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/102","labels_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/102/comments","events_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/102/events","html_url":"https://github.com/tomchadwin/qgis2web/issues/102","id":102626047,"number":102,"title":"Showing wfs-data doesn't work","user":{"login":"limmyjw","id":2392461,"avatar_url":"https://avatars.githubusercontent.com/u/2392461?v=3","gravatar_id":"","url":"https://api.github.com/users/limmyjw","html_url":"https://github.com/limmyjw","followers_url":"https://api.github.com/users/limmyjw/followers","following_url":"https://api.github.com/users/limmyjw/following{/other_user}","gists_url":"https://api.github.com/users/limmyjw/gists{/gist_id}","starred_url":"https://api.github.com/users/limmyjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limmyjw/subscriptions","organizations_url":"https://api.github.com/users/limmyjw/orgs","repos_url":"https://api.github.com/users/limmyjw/repos","events_url":"https://api.github.com/users/limmyjw/events{/privacy}","received_events_url":"https://api.github.com/users/limmyjw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/Leaflet","name":"Leaflet","color":"addb57"},{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/wfs","name":"wfs","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-23T14:37:10Z","updated_at":"2015-09-18T09:59:18Z","closed_at":null,"body":"Hi, \r\nThe wfsdata doesn't show not in preview not rin export  But the wfs-links are mentioned  in the index.html\r\nWhat goes wrong?\r\n Qgis 2.10.0\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n        <title>QGIS2leaf webmap</title>\r\n    \r\n        <meta charset=\"utf-8\" />\r\n        <link rel=\"stylesheet\" href=\"http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css\" />\r\n        <link rel=\"stylesheet\" href=\"css/MarkerCluster.css\" />\r\n        <link rel=\"stylesheet\" href=\"css/MarkerCluster.Default.css\" />\r\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"css/qgis2web.css\">\r\n        <link rel=\"stylesheet\" href=\"css/label.css\" />\r\n        <script src=\"http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js\"></script>\r\n        <script src=\"js/leaflet-hash.js\"></script>\r\n        <script src=\"js/label.js\"></script>\r\n        <script src=\"js/Autolinker.min.js\"></script>\r\n        <script src=\"js/leaflet.markercluster.js\"></script>\r\n        <meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=no\" />\r\n    </head>\r\n    <body>\r\n        <div id=\"map\"></div>\r\n        <script>\r\n        var map = L.map('map', {\r\n            zoomControl:true, maxZoom:28, minZoom:1\r\n        }).fitBounds([[51.4522875011,4.81684441865],[51.694417039,5.25506480834]]);\r\n        var hash = new L.Hash(map);\r\n        var additional_attrib = '<a href=\"https://github.com/tomchadwin/qgis2web\" target =\"_blank\">qgis2web</a>';\r\n        var feature_group = new L.featureGroup([]);\r\n        var raster_group = new L.LayerGroup([]);\r\n        var basemap = L.tileLayer('http://a.tile.stamen.com/toner/{z}/{x}/{y}.png', {\r\n            attribution: additional_attrib + ' Map tiles by <a href=\"http://stamen.com\">Stamen Design</a>, <a href=\"http://creativecommons.org/licenses/by/3.0\">CC BY 3.0</a> &mdash; Map data: &copy; <a href=\"http://openstreetmap.org\">OpenStreetMap</a> contributors,<a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">CC-BY-SA</a>'\r\n        });\r\n        basemap.addTo(map);\r\n        var layerOrder = new Array();\r\n        function restackLayers() {\r\n            for (index = 0; index < layerOrder.length; index++) {\r\n                layerOrder[index].bringToFront();\r\n            }\r\n        }\r\n        map.on('overlayadd', restackLayers);\r\n        layerControl = L.control.layers({},{},{collapsed:false});\r\n\r\n        var json_brpgewaspercelenJSON;\r\n        json_brpgewaspercelenJSON = L.geoJson(null, {\r\n        style: function (feature) {\r\n            return {\r\n                weight: 1.04,\r\n                color: '#000000',\r\n                fillColor: '#126d91',\r\n                dashArray: '',\r\n                opacity: 1.0,\r\n                fillOpacity: 1.0\r\n            };\r\n        },\r\n        onEachFeature: function (feature, layer) {\r\n            var popupContent = '<table><tr><th scope=\"row\">objectid</th><td>' + Autolinker.link(String(feature.properties['objectid'])) + '</td></tr><tr><th scope=\"row\">gewascategorie</th><td>' + Autolinker.link(String(feature.properties['gewascategorie'])) + '</td></tr><tr><th scope=\"row\">gewas</th><td>' + Autolinker.link(String(feature.properties['gewas'])) + '</td></tr><tr><th scope=\"row\">gewascode</th><td>' + Autolinker.link(String(feature.properties['gewascode'])) + '</td></tr><tr><th scope=\"row\">length</th><td>' + Autolinker.link(String(feature.properties['length'])) + '</td></tr><tr><th scope=\"row\">area</th><td>' + Autolinker.link(String(feature.properties['area'])) + '</td></tr></table>';\r\n            layer.bindPopup(popupContent);\r\n        }\r\n        });\r\n        layerOrder[layerOrder.length] = json_brpgewaspercelenJSON;\r\n        feature_group.addLayer(json_brpgewaspercelenJSON);\r\n        layerControl.addOverlay(json_brpgewaspercelenJSON, 'brpgewaspercelen');\r\n        function getbrpgewaspercelenJson(geojson) {\r\n            json_brpgewaspercelenJSON.addData(geojson);\r\n            restackLayers();\r\n        };\r\n        //add comment sign to hide this layer on the map in the initial view.\r\n        feature_group.addLayer(json_brpgewaspercelenJSON);\r\n\r\n        var json_beschermdenatuurmonumentenJSON;\r\n        json_beschermdenatuurmonumentenJSON = L.geoJson(null, {\r\n        style: function (feature) {\r\n            return {\r\n                weight: 1.04,\r\n                color: '#000000',\r\n                fillColor: '#440888',\r\n                dashArray: '',\r\n                opacity: 1.0,\r\n                fillOpacity: 1.0\r\n            };\r\n        },\r\n        onEachFeature: function (feature, layer) {\r\n            var popupContent = '<table><tr><th scope=\"row\">naam</th><td>' + Autolinker.link(String(feature.properties['naam'])) + '</td></tr><tr><th scope=\"row\">datuminstellingsbesluit</th><td>' + Autolinker.link(String(feature.properties['datuminstellingsbesluit'])) + '</td></tr><tr><th scope=\"row\">gebiedsnummer</th><td>' + Autolinker.link(String(feature.properties['gebiedsnummer'])) + '</td></tr><tr><th scope=\"row\">shape_area</th><td>' + Autolinker.link(String(feature.properties['shape_area'])) + '</td></tr><tr><th scope=\"row\">shape_len</th><td>' + Autolinker.link(String(feature.properties['shape_len'])) + '</td></tr></table>';\r\n            layer.bindPopup(popupContent);\r\n        }\r\n        });\r\n        layerOrder[layerOrder.length] = json_beschermdenatuurmonumentenJSON;\r\n        feature_group.addLayer(json_beschermdenatuurmonumentenJSON);\r\n        layerControl.addOverlay(json_beschermdenatuurmonumentenJSON, 'beschermdenatuurmonumenten');\r\n        function getbeschermdenatuurmonumentenJson(geojson) {\r\n            json_beschermdenatuurmonumentenJSON.addData(geojson);\r\n            restackLayers();\r\n        };\r\n        //add comment sign to hide this layer on the map in the initial view.\r\n        feature_group.addLayer(json_beschermdenatuurmonumentenJSON);\r\n        raster_group.addTo(map);\r\n        feature_group.addTo(map);\r\n        var baseMaps = {\r\n            'Stamen Toner': basemap\r\n        };\r\n            L.control.layers(baseMaps,{'<img src=\"legend/beschermdenatuurmonumenten.png\" /> beschermdenatuurmonumenten': json_beschermdenatuurmonumentenJSON,'<img src=\"legend/brpgewaspercelen.png\" /> brpgewaspercelen': json_brpgewaspercelenJSON},{collapsed:false}).addTo(map);\r\n        map.locate({setView: true, maxZoom: 16});\r\n        function onLocationFound(e) {\r\n            var radius = e.accuracy / 2;\r\n            L.marker(e.latlng).addTo(map)\r\n            .bindPopup(\"You are within \" + radius + \" meters from this point\").openPopup();\r\n            L.circle(e.latlng, radius).addTo(map);\r\n        }\r\n        map.on('locationfound', onLocationFound);\r\n        \r\n    </script>\r\n        <script src='http://geodata.nationaalgeoregister.nl/brpgewaspercelen/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=brpgewaspercelen:brpgewaspercelen&SRSNAME=EPSG:4326&BBOX=0,300000,300000,600000&outputFormat=text%2Fjavascript&format_options=callback%3AgetbrpgewaspercelenJson'></script>\r\n        <script src='http://geodata.nationaalgeoregister.nl/beschermdenatuurmonumenten/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=beschermdenatuurmonumenten:beschermdenatuurmonumenten&SRSNAME=EPSG:4326&BBOX=0,300000,300000,600000&outputFormat=text%2Fjavascript&format_options=callback%3AgetbeschermdenatuurmonumentenJson'></script>\r\n</body>\r\n</html>"},"comment":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/comments/141408646","html_url":"https://github.com/tomchadwin/qgis2web/issues/102#issuecomment-141408646","issue_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/102","id":141408646,"user":{"login":"tomchadwin","id":7840213,"avatar_url":"https://avatars.githubusercontent.com/u/7840213?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchadwin","html_url":"https://github.com/tomchadwin","followers_url":"https://api.github.com/users/tomchadwin/followers","following_url":"https://api.github.com/users/tomchadwin/following{/other_user}","gists_url":"https://api.github.com/users/tomchadwin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchadwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchadwin/subscriptions","organizations_url":"https://api.github.com/users/tomchadwin/orgs","repos_url":"https://api.github.com/users/tomchadwin/repos","events_url":"https://api.github.com/users/tomchadwin/events{/privacy}","received_events_url":"https://api.github.com/users/tomchadwin/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T09:59:18Z","updated_at":"2015-09-18T09:59:18Z","body":"I'm sorry to be slow - how did you send me the project?"}}