function trackEvents(feature, interaction) {
    const events = [];
    feature.on('change', function (event) {
      events.push('change');
    });
    interaction.on('modifystart', function (event) {
      events.push(event);
    });
    interaction.on('modifyend', function (event) {
      events.push(event);
    });
    return events;
  }
/**
   * Tracks events triggered by the interaction as well as feature
   * modifications. Helper function to
   * @param {ol.Feature} feature Modified feature.
   * @param {ol.interaction.Modify} interaction The interaction.
   * @return {Array<ModifyEvent|string>} events
   */
Tracks events triggered by the interaction as well as feature
modifications. Helper function to
@param {ol.Feature} feature Modified feature.
Tracks events triggered by the interaction as well as feature modifications . Helper function to @param { ol . Feature } feature Modified feature .
function trackEvents(feature, interaction) {
    const events = [];
    feature.on('change', function (event) {
      events.push('change');
    });
    interaction.on('modifystart', function (event) {
      events.push(event);
    });
    interaction.on('modifyend', function (event) {
      events.push(event);
    });
    return events;
  }
function trackEvents ( feature , interaction ) { const events = [ ] ; feature . on ( 'change' , function ( event ) { events . push ( 'change' ) ; } ) ; interaction . on ( 'modifystart' , function ( event ) { events . push ( event ) ; } ) ; interaction . on ( 'modifyend' , function ( event ) { events . push ( event ) ; } ) ; return events ; }
Tracks events triggered by the interaction as well as feature
 modifications.
Tracks events triggered by the interaction as well as feature modifications .