 it
// internally.

var projection &#x3D; new ol.proj.Projection({
  code: &#x27;EPSG:21781&#x27;,
  extent: [485869.5728, 76443.1884, 837076.5648, 299941.7864]
});

var extent &#x3D; [420000, 30000, 900000, 350000];
var layers &#x3D; [
  new ol.layer.Image({
    extent: extent,
    source: new ol.source.ImageWMS({
      url: &#x27;https://wms.geo.admin.ch/&#x27;,
      crossOrigin: &#x27;anonymous&#x27;,
      attributions: &#x27;© &lt;a href&#x3D;&quot;http://www.geo.admin.ch/internet/geoportal/&#x27; +
