PlugIns? (#2) - Moving Maps with hardcoded navdata? (#89) - Message List
Hi, I'm trying to accomplish having the map move relative to an air vehicle reading from hardcoded lat/lon/alt data. I use IGPS methods and using the PLGR code example as a starting point. As I am not using the serial port, I ignore/comment out code that deals with the serial port. Ultimately I have the following calls:
However all that happens is that Falconview waits till all the points are added then display the end result. I do not see step by step movements. Is there a way to refresh Falconview so it is showing all the routepoints so as to simulate the aircraft moving (or rather the map moving centred on the aircraft)?
There is currently no support for this although it has been requested before. It would take a minor software change along with a GUI change to make the position optional.
If anyone wants to bite it off, the GPS overlay code is in the FVW exe project.ChrisBailey01/28/10 13:33:08 (3 years ago)
Does anyone know at all how to centre a gps icon on the centre of FalconView instead of near the bottom?posimon01/26/10 09:51:24 (3 years ago)
The above is fixed by having the code in its own thread. However even with Autocentre option in Moving Maps switched on along with Course Up and Smooth Scrolling, the aircraft icon appear 4/5ths of the way down rather than centred on screen. As yet I have not seen any other options to force the icon to be centred. I further changed the test code to have a true_course change so:
in 45 degrees steps till 360 degrees.
First with mag_course always 0, the icon turns starts off pointing up then turns 45 degrees without the map rotating. Then the icon points up with the map rotated. Then it repeats by the icon turning another 45 deg (no map rotation), then point up (map rotated) etc.
Changing mag_course to have the same value as true_course exhibit the same behavior.
Ideally the aircraft icon always point up in the middle of the screen with the map rotating around it. How can this be achieved?
I'm using version 22.214.171.1244posimon01/14/10 11:17:40 (3 years ago)