Use new projection getter
This commit is contained in:
@@ -99,7 +99,7 @@ describe('ol.layer.Vector', function() {
|
||||
|
||||
var layer = new ol.layer.Vector({
|
||||
source: new ol.source.Vector({
|
||||
projection: ol.projection.getFromCode('EPSG:4326')
|
||||
projection: ol.projection.get('EPSG:4326')
|
||||
}),
|
||||
style: new ol.style.Style({
|
||||
rules: [
|
||||
|
||||
Reference in New Issue
Block a user