modules/layers/src/icon-layer/icon-manager.js
function buildRowMapping(mapping, columns, yOffset) {
  for (let i = 0; i < columns.length; i++) {
    const {icon, xOffset} = columns[i];
    const id = getIconId(icon);
    mapping[id] = Object.assign({}, icon, {
      x: xOffset,
      y: yOffset
    });
  }
}
function buildRowMapping(mapping, columns, yOffset) {
  for (let i = 0; i < columns.length; i++) {
    const {icon, xOffset} = columns[i];
    const id = getIconId(icon);
    mapping[id] = Object.assign({}, icon, {
      x: xOffset,
      y: yOffset
    });
  }
}
function buildRowMapping ( mapping , columns , yOffset ) { for ( let i = 0 ; i < columns . length ; i ++ ) { const { icon , xOffset } = columns [ i ] ; const id = getIconId ( icon ) ; mapping [ id ] = Object . assign ( { } , icon , { x : xOffset , y : yOffset } ) ; } }
traverse icons in a row of icon atlas extend each icon with left-top coordinates
traverse icons in a row of icon atlas extend each icon with left - top coordinates