Move countries.geojson into geojson subdirectory

This commit is contained in:
Tom Payne
2014-01-23 03:28:53 +01:00
parent de8ebfc342
commit 777fc2f961
3 changed files with 2 additions and 2 deletions

View File

@@ -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;