Show both Proj4js and custom transform functions in examples
This commit is contained in:
@@ -63,7 +63,7 @@ var map = new ol.Map({
|
||||
target: 'map',
|
||||
view: new ol.View({
|
||||
projection: projection,
|
||||
center: [660000, 190000],
|
||||
center: ol.proj.transform([8.23, 46.86], 'EPSG:4326', 'EPSG:21781'),
|
||||
extent: extent,
|
||||
zoom: 2
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user