NEW YORK — The Knicks went coast to coast to let Carmelo Anthony know they want him to stay in New York.

Team officials traveled to Los Angeles on Thursday night to meet with the free agent and offered him the maximum contract allowable, a person with knowledge of the details said.

Team President Phil Jackson and General Manager Steve Mills were part of the meeting but not Madison Square Garden chairman James Dolan, an official with knowledge of the plans said on condition of anonymity because details of the meeting were to remain private.

Anthony was in Los Angeles to meet with the Lakers, who are among the teams hoping to convince the All-Star forward to leave New York. Anthony already visited Chicago, Houston and Dallas this week.

The Knicks can offer him the largest contract, nearly $130 million over five years, though Jackson has said he hopes Anthony would take less than a maximum deal. Anthony had previously said he would be willing to do so if it would help build a winning team, but the Knicks have made it clear money won’t be an object.

Other teams can offer Anthony slightly less than $100 million in a four-year deal, according to NBA rules.

Contracts can’t be signed until July 10, so Anthony is under no rush to make a decision. But the Knicks apparently wanted to make sure they got to make a final pitch after his free agency tour.

Trail Blazers

SOURCE SAYS KAMAN GETS TWO-YEAR DEAL: Free agent center Chris Kaman agreed to a two-year deal with Portland.

A person with knowledge of the negotiations confirmed the agreement, which cannot be announced until new contracts are finalized July 10. The deal, worth a reported $9.8 million, was first reported Thursday by Yahoo! Sports.

Kaman, who played for the New Orleans Hornets in 2011-12, confirmed the deal with a Twitter post.

The burley 7-foot center has averaged 11.7 points, 7.9 rebounds and 1.4 blocks over his 11-year NBA career. He is expected to back up fellow former Hornet Robin Lopez with the Blazers.

Hawks

SEFOLOSHA IN THE FOLD: Atlanta reached an agreement with small forward Thabo Sefolosha on a deal that leaves the team sufficient salary cap room for additional offseason moves.

The Hawks and Sefolosha agreed to a three-year, $12 million contract, a person with knowledge of the deal said.

Around the league

The San Antonio said Manu Ginobili has a stress fracture of the lower fibula of his right leg. The injury could knock the key reserve for the NBA champion Spurs out of the upcoming world championships, where he was scheduled to play for Argentina. The tournament starts at the end of August in Spain. Ginobili wrote on his Facebook page that his availability will depend on how he feels in about three weeks, but that he remains optimistic. ... Former LSU standout Justin Hamilton will compete for the Miami Heat in the Orlando Summer League, which begins Saturday. Hamilton spent most of this past season with the D-League’s Sioux Falls Skyforce but did appear in seven regular-season games for the Heat, averaging 3.7 points.