Linja was formerly part of the German Empire. In the German Empire, the place was called Linde, Kr. Neustadt (Westpr.).
The place is now called Linia and belongs to Poland.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Linde (Kr. Neustadt, Westpr.) | German Empire | Neustadt i. Westpr. | before the Versailles Treaty |
| Linja | Poland | Wejherowo | after the Versailles Treaty |
| Linde, Kr. Neustadt (Westpr.) | German Empire | Neustadt (Westpr.) | 1939 |
| Linia | Poland | Wejherowo | 1945 |
| Linia | Poland | Gdańsk | 1992 |