Merge pull request #2020 from bartvde/wfsbbox

Add fifth value for BBOX to be conforming to the WFS 1.1 spec (r=@tschaub)
This commit is contained in:
Bart van den Eijnden
2014-04-28 18:00:39 +02:00

View File

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