Show both Proj4js and custom transform functions in examples

This commit is contained in:
Andreas Hocevar
2014-07-09 17:38:16 +02:00
parent 4cf8383820
commit 8f1fdde26e
4 changed files with 177 additions and 19 deletions

View File

@@ -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
})