Use strings rather than ol.projection.get in examples
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user