function layerOff() {
    throttledRedraw.cancel();
    drawLayer.interrupt();
    touchLayer.selectAll('.qaItem.improveOSM')
      .remove();

    drawLayer
      .transition()
      .duration(250)
      .style('opacity', 0)
      .on('end interrupt', () => {
        editOff();
        dispatch.call('change');
      });
  }
// Disable the layer.  This transitions the layer invisible and then hides the markers.
Disable the layer.  This transitions the layer invisible and then hides the markers.
Disable the layer . This transitions the layer invisible and then hides the markers .
function layerOff() {
    throttledRedraw.cancel();
    drawLayer.interrupt();
    touchLayer.selectAll('.qaItem.improveOSM')
      .remove();
    drawLayer
      .transition()
      .duration(250)
      .style('opacity', 0)
      .on('end interrupt', () => {
        editOff();
        dispatch.call('change');
      });
  }
function layerOff ( ) { throttledRedraw . cancel ( ) ; drawLayer . interrupt ( ) ; touchLayer . selectAll ( '.qaItem.improveOSM' ) . remove ( ) ; drawLayer . transition ( ) . duration ( 250 ) . style ( 'opacity' , 0 ) . on ( 'end interrupt' , ( ) => { editOff ( ) ; dispatch . call ( 'change' ) ; } ) ; }
Disable the layer.
Disable the layer .