Use new projection getter

This commit is contained in:
Tim Schaub
2013-03-07 23:48:10 -07:00
parent 895bc4e76c
commit ee75c4b90e
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ var raster = new ol.layer.TileLayer({
var vector = 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: [
new ol.style.Rule({