Add fromLonLat and toLonLat convenience functions
This commit is contained in:
2
examples/d3.js
vendored
2
examples/d3.js
vendored
@@ -21,7 +21,7 @@ var map = new ol.Map({
|
||||
],
|
||||
target: 'map',
|
||||
view: new ol.View({
|
||||
center: ol.proj.transform([-97, 38], 'EPSG:4326', 'EPSG:3857'),
|
||||
center: ol.proj.fromLonLat([-97, 38]),
|
||||
zoom: 4
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user