text: import Control from './control';
  import utils from './utils';
  
  const name = 'flip';
  
  /*
   * Compute feature coordinate flip
   */
  const action = function(control) {
    const collection = utils.getCollection(control, 1, Infinity);
  
    const output = turf.flip(collection);
    const inputs = {
      input: collection,
    };
    control.toolbar.olturf.handler.callback(name, output, inputs);
  };
  
  export default {
    create: function(toolbar, prefix) {
      const title = 'Flip features coordinates';
      return Control.create(toolbar, prefix, name, title, action);
    },
  };
  
  