diff --git a/examples/wms-custom-proj.html b/examples/wms-custom-proj.html index 6f5c66e51e..efecf3a827 100644 --- a/examples/wms-custom-proj.html +++ b/examples/wms-custom-proj.html @@ -8,7 +8,7 @@ -
Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.
See the wms-custom-proj.js source to see how this is done.
Example of two single image WMS layers.
Pixelmap 1:1'000'000 with National Parks overlay using the projection EPSG:21781.
diff --git a/examples/wms-image-custom-proj.js b/examples/wms-image-custom-proj.js index d57bc93675..05292d72ae 100644 --- a/examples/wms-image-custom-proj.js +++ b/examples/wms-image-custom-proj.js @@ -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 })