Rename ol.projection.getFromCode to ol.projection.get

This commit is contained in:
Tom Payne
2013-03-06 18:02:46 +01:00
parent 6bcbd25e2f
commit afcbec469a
16 changed files with 50 additions and 50 deletions

View File

@@ -15,7 +15,7 @@ var layers = [
}),
new ol.layer.TileLayer({
source: new ol.source.DebugTileSource({
projection: ol.projection.getFromCode('EPSG:3857'),
projection: ol.projection.get('EPSG:3857'),
tileGrid: new ol.tilegrid.XYZ({
maxZoom: 22
})