diff --git a/examples/data/countries.geojson b/examples/data/geojson/countries.geojson similarity index 100% rename from examples/data/countries.geojson rename to examples/data/geojson/countries.geojson diff --git a/examples/image-vector-layer.js b/examples/image-vector-layer.js index 279bb5f284..fbba2eb416 100644 --- a/examples/image-vector-layer.js +++ b/examples/image-vector-layer.js @@ -30,7 +30,7 @@ var map = new ol.Map({ new ol.layer.Image({ source: new ol.source.ImageVector({ source: new ol.source.GeoJSON({ - url: 'data/countries.geojson' + url: 'data/geojson/countries.geojson' }), styleFunction: function(feature, resolution) { return styleArray; diff --git a/examples/vector-layer.js b/examples/vector-layer.js index 7905afc1b1..3631e34c5a 100644 --- a/examples/vector-layer.js +++ b/examples/vector-layer.js @@ -23,7 +23,7 @@ var styleArray = [new ol.style.Style({ var vectorLayer = new ol.layer.Vector({ source: new ol.source.GeoJSON({ - url: 'data/countries.geojson' + url: 'data/geojson/countries.geojson' }), styleFunction: function(feature, resolution) { return styleArray;