;
  } else if (value &#x3D;&#x3D; &#x27;altclick&#x27;) {
    select &#x3D; selectAltClick;
  } else {
    select &#x3D; null;
  }
  if (select !&#x3D;&#x3D; null) {
    map.addInteraction(select);
    select.on(&#x27;select&#x27;, function(e) {
      document.getElementById(&#x27;status&#x27;).innerHTML &#x3D; &#x27;&amp;nbsp;&#x27; +
          e.target.getFeatures().getLength() +
          &#x27; selected features (last operation selected &#x27; + e.selected.length +
          &#x27; and deselected &#x27;