getMapFromBoardPositions(positions, map) {
    map || (map = []);

    const baseMap = UtilsPosition.getMapFromPositions(SDK.GameSession.getInstance().getBoard().getColumnCount(), positions);
    for (let i = 0, il = baseMap.length; i < il; i++) {
      const position = baseMap[i];
      if (position) {
        map[i] = {
          x: position.x,
          y: position.y,
          tlTileSprite: null,
          trTileSprite: null,
          brTileSprite: null,
          blTileSprite: null,
        };
      }
    }

    return map;
  }
Prepares a mapped array of data holders for tile rendering data.
@param positions
@param map
@returns {Array} mapped indices and holders for tile sprites
@private