foucdeg / x-plane-map

Google Map plugin for X-Plane.
7 stars 4 forks source link

Repository archived

If you are looking for Airspaces, it is located at foucdeg/airspaces. This is the code for a very old version of the desktop app.

x-plane-map

Google Map plugin for X-Plane. You can find a compiled version on the x-plane forums.

SETUP INSTRUCTIONS

  1. X-Plane Setup

    • Start X-Plane. Go to Settings -> Data Input & Output.
    • Activate the leftmost checkbox of line 20 (Internet output of latitude, longitude, altitude).
    • Make sure no other checkboxes for Internet data output are active.
    • In Settings -> Net Connections, go to the Data tab and fill out the IP and port : 127.0.0.1 (that's your computer) and 49003. Check the "IP of Data Receiver" checkbox.
  2. Building and Running the Map Server

I have not yet gotten around to use a build file, just build this with res/ in the classpath. You also need to include com.sun.net.httpserver and json-simple in the build path.

VIEWING AND USING THE MAP

On the computer where the map server is running, it automatically opened your Web browser at the right page. The map shows your plane at its latest known location and fetches the new location every second.

MULTIPLAYER INSTRUCTIONS

External Moving Map is multiplayer-ready, it can show multiple planes from computers on the same network. Here's how:

FAQ

Q: X-Plane won't start anymore, I get a "udp_socket_read udp_init failed" error message.

A: Open file Output/Preferences/X-Plane.prf, in your X-Plane directory, look for the lines starting with _rcv_port, _snd_port and _flr_port and check that the port values are 49000, 49001 and 49002 respectively. After that, X-Plane should be able to restart.

I ALSO HAVE A QUESTION FOR YOU:

What features do you want added to this ? I really want to make it the best map application out there, and to do that, I have to catch up on the features existing apps have. Here are my next ideas: