For many New Yorkers, the gathering might have registered as a sort of medley of Midtown misery.

Visitors to the city — trusted, on most days, to sort themselves evenly across the neighborhood — flocked to a particular perch on West 34th Street, clogging precious sidewalk space on Tuesday.

A central tenet of urban identity, indifference to the famous, came under siege with each arriving local. (And there were more than a few.)

And the signature form of Herald Square hucksterism — selling passers-by tickets to the top of the Empire State Building — took a turn for the topical.

“The prince is here!” a vendor told the pedestrians. “You want to go up?”

On the last of their three days here, the Duke and Duchess of Cambridge entered the landmark appreciation leg of the journey. They spent much of the morning at the National September 11 Memorial and its museum, attended a dinner at the Metropolitan Museum of Art and, in between, the duke stole away for a stop at the Empire State Building with Mayor Bill de Blasio.