Fix vector examples

This commit is contained in:
Éric Lemoine
2014-02-06 10:36:14 +01:00
parent 629558971d
commit 95bef8d7d2
5 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ goog.require('ol.style.Text');
var styleCache = {};
var vectorLayer = new ol.layer.Vector({
source: new ol.source.GeoJSON({
projection: 'EPSG:3857',
url: 'data/geojson/countries.geojson'
}),
styleFunction: function(feature, resolution) {