Use a https enabled GeoServer
This commit is contained in:
@@ -13,7 +13,7 @@ goog.require('ol.style.Style');
|
||||
var vectorSource = new ol.source.Vector({
|
||||
format: new ol.format.GeoJSON(),
|
||||
url: function(extent) {
|
||||
return 'http://demo.boundlessgeo.com/geoserver/wfs?service=WFS&' +
|
||||
return 'https://ahocevar.com/geoserver/wfs?service=WFS&' +
|
||||
'version=1.1.0&request=GetFeature&typename=osm:water_areas&' +
|
||||
'outputFormat=application/json&srsname=EPSG:3857&' +
|
||||
'bbox=' + extent.join(',') + ',EPSG:3857';
|
||||
|
||||
Reference in New Issue
Block a user