Add fromLonLat and toLonLat convenience functions
This commit is contained in:
@@ -23,7 +23,7 @@ var map = new ol.Map({
|
||||
})
|
||||
],
|
||||
view: new ol.View({
|
||||
center: ol.proj.transform([-121.1, 47.5], 'EPSG:4326', 'EPSG:3857'),
|
||||
center: ol.proj.fromLonLat([-121.1, 47.5]),
|
||||
zoom: 7
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user