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
+1 -1
View File
@@ -35,7 +35,7 @@ var map = new ol.Map({
renderers: [ol.RendererHint.CANVAS, ol.RendererHint.DOM],
target: 'map',
view: new ol.View2D({
projection: ol.projection.get('EPSG:4326'),
projection: 'EPSG:4326',
center: new ol.Coordinate(0, 0),
zoom: 2
})