Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/com/roots/map/MapPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1939,6 +1939,9 @@ public static void launchUI() {
}

public static void main(String[] args) {
// HTTP User-agent is required to be set by OSM Tile Usage Policy to avoid an error.
System.setProperty("http.agent", "MapPanel app (https://github.com/srutz/mappanel)");

SwingUtilities.invokeLater(new Runnable() {
public void run() {
try {
Expand Down