diff --git a/examples/vector-layer.js b/examples/vector-layer.js index 8e33676521..916dc6406b 100644 --- a/examples/vector-layer.js +++ b/examples/vector-layer.js @@ -2,13 +2,13 @@ goog.require('ol.Collection'); goog.require('ol.Coordinate'); goog.require('ol.Feature'); goog.require('ol.Map'); -goog.require('ol.Projection'); goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.geom.LineString'); goog.require('ol.geom.Point'); goog.require('ol.layer.TileLayer'); goog.require('ol.layer.Vector'); +goog.require('ol.projection'); goog.require('ol.source.MapQuestOpenAerial'); goog.require('ol.source.Vector'); @@ -18,7 +18,7 @@ var raster = new ol.layer.TileLayer({ }); var source = new ol.source.Vector({ - projection: ol.Projection.getFromCode('EPSG:3857') + projection: ol.projection.getFromCode('EPSG:3857') }); source.addFeatures([ diff --git a/test/spec/ol/layer/vectorlayer.test.js b/test/spec/ol/layer/vectorlayer.test.js index 1c5ccd4f79..7450ba4ca3 100644 --- a/test/spec/ol/layer/vectorlayer.test.js +++ b/test/spec/ol/layer/vectorlayer.test.js @@ -7,7 +7,7 @@ describe('ol.layer.Vector', function() { it('groups equal symbolizers', function() { var layer = new ol.layer.Vector({ source: new ol.source.Vector({ - projection: ol.Projection.getFromCode('EPSG:4326') + projection: ol.projection.getFromCode('EPSG:4326') }), style: new ol.style.Style({ rules: [ diff --git a/test/spec/ol/source/vectorsource.test.js b/test/spec/ol/source/vectorsource.test.js index b84a1114b4..3ac6685be2 100644 --- a/test/spec/ol/source/vectorsource.test.js +++ b/test/spec/ol/source/vectorsource.test.js @@ -9,7 +9,7 @@ describe('ol.source.Vector', function() { it('works', function() { vectorSource = new ol.source.Vector({ - projection: ol.Projection.getFromCode('EPSG:4326') + projection: ol.projection.getFromCode('EPSG:4326') }); vectorSource.addFeatures([new ol.Feature()]); expect(vectorSource.getFeatures().length).toEqual(1); @@ -48,7 +48,7 @@ describe('ol.source.Vector', function() { }) ]; vectorSource = new ol.source.Vector({ - projection: ol.Projection.getFromCode('EPSG:4326') + projection: ol.projection.getFromCode('EPSG:4326') }); vectorSource.addFeatures(features); }); diff --git a/test/spec/ol/style/style.test.js b/test/spec/ol/style/style.test.js index 3e93398b64..8cbe965bc4 100644 --- a/test/spec/ol/style/style.test.js +++ b/test/spec/ol/style/style.test.js @@ -29,7 +29,7 @@ describe('ol.style.Style', function() { }); }); - + describe('ol.style.Style.applyDefaultStyle()', function() { var feature = new ol.Feature();