
      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; +
                &#x27;en/home.html&quot;&gt;Pixelmap 1:1000000 / geo.admin.ch&lt;/a&gt;&#x27;,
            params: {
              &#x27;LAYERS&#x27;: &#x27;ch.swisstopo.pixe