Hamburger means of or from the city of Hamburg, Germany, where this preparation of meat, originally called "Hamburg Steak", originated. In the U.S., the name was applied to the sandwich as well.
Frankfurters, by the way, originated in Frankfurt, Germany, where they were often served in beer gardens. And wieners? Named for Vienna, Austria.