Add fifth value for BBOX to be conforming to the WFS 1.1 spec

This commit is contained in:
Bart van den Eijnden
2014-04-28 17:57:30 +02:00
parent 1f3f1e1cc7
commit b91d8871df

View File

@@ -20,7 +20,7 @@ var vectorSource = new ol.source.ServerVector({
var url = 'http://demo.opengeo.org/geoserver/wfs?service=WFS&' + var url = 'http://demo.opengeo.org/geoserver/wfs?service=WFS&' +
'version=1.1.0&request=GetFeature&typename=osm:water_areas&' + 'version=1.1.0&request=GetFeature&typename=osm:water_areas&' +
'outputFormat=text/javascript&format_options=callback:loadFeatures' + 'outputFormat=text/javascript&format_options=callback:loadFeatures' +
'&srsname=EPSG:3857&bbox=' + extent.join(','); '&srsname=EPSG:3857&bbox=' + extent.join(',') + ',EPSG:3857';
$.ajax({ $.ajax({
url: url, url: url,
dataType: 'jsonp' dataType: 'jsonp'