Use strings rather than ol.projection.get in examples

This commit is contained in:
Tom Payne
2013-03-06 18:53:59 +01:00
parent eaa17758bd
commit 874583656e
3 changed files with 3 additions and 3 deletions

View File

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