1
0
Fork 0
Commit graph

57 commits

Author SHA1 Message Date
Hans Kunkell
79b0eb5730 Phi: Fix runways and comms in leaflet popups
The popup of an airport showed:
runways: [Object object] [Object object] ....
This fix will instead print the runway's ID, ie:
runways: 08L, 26R, 08R, 26L

Same issue solved with communication frequencies.
2022-11-18 21:38:50 +01:00
Roman Ludwicki
156691bf87 Add content to the Help page for Phi
Handling unsupported buttons by add the text "not implemented yet".
2022-11-10 14:36:24 +01:00
Lars Toenning
725ce7d3f5 Phi: Add map option to disable repositioning own aircraft by dragging 2022-08-01 12:08:07 +01:00
Lars Toenning
fc3b7b8b56 Phi: Highlight "follow aircraft" button if enabled 2022-08-01 12:08:07 +01:00
Lars Toenning
5626dc51f5 Phi: Remove unused css rule 2022-08-01 12:08:07 +01:00
James Turner
d408af3831 OpenFlightMaps: include AIRAC cycle
Patch by Thilo Schürmann
2022-08-01 12:05:59 +01:00
James Turner
89ec23f572 Add OpenFlightMaps layer
Code changes are from:
 https://github.com/Thilo277/Flightgear-openflightmaps/blob/main/FGDATA_Phi_topics_Map.js.diff

Patch by Thilo Schürman
2022-07-25 09:51:38 +01:00
Thomas LESNE
88788dc6ab Fix attributes for multiplayer and AI airplanes in Phi (fix #2274) 2020-06-25 11:11:39 +01:00
Keith Paterson
945dc6bf30 Fixed TypeError: L.aiLayer is not a function error in Phi 2019-05-04 18:06:18 +02:00
portree_kid
88bdd5f68c Added 3rd line to AI objects with FROM -> TO 2019-03-28 22:08:41 +01:00
portree_kid
ca2f13baed Make AI aircraft draggable in Phi 2018-08-31 08:06:42 +02:00
Torsten Dreyer
aea1bbf5f1 Use latest vfrmap.com tiles 2018-01-30 11:21:02 +01:00
Torsten Dreyer
8ec442d96a Phi: rate-limit property and UI updates to 25Hz 2016-06-01 11:35:48 +02:00
Torsten Dreyer
6099592a98 Phi: upgrade to knockout 3.4.0
Using new knockout feature "deferred updates" saves us many redundant UI updates
2016-06-01 11:35:48 +02:00
Torsten Dreyer
4833e9f27a Add knockout 3.4.0 2016-06-01 11:35:48 +02:00
Torsten Dreyer
062229f744 fix a html typo in Phi's horizon example 2016-05-29 17:23:38 +02:00
Torsten Dreyer
1d4dfbe67b Phi: improve the horizon example 2016-05-27 22:20:13 +02:00
Torsten Dreyer
6c98468d19 fix #1834: not taps in Phi
Allow missing config.json in fg-home.
2016-01-19 09:44:04 +01:00
Torsten Dreyer
45bdcd9d2b Phi: fix radiostack layout issue 2016-01-14 10:30:23 +01:00
Torsten Dreyer
fd23166f43 Phi: let plugins register additional properties 2016-01-14 10:29:49 +01:00
Torsten Dreyer
f0588144d1 Phi: simplify plugin json and add user plugin support 2016-01-13 18:16:15 +01:00
Torsten Dreyer
cee599cd0d Phi: Pull topics into a config object
background: prepare for plugins
2016-01-13 13:59:01 +01:00
Torsten Dreyer
e5db4d25cb Phi: update leaflet to v0.7.7
no functional changes
2015-12-18 22:08:19 +01:00
Torsten Dreyer
ece79a7aed Add a simple Phi Example 2015-11-19 15:33:46 +01:00
Torsten Dreyer
e0c88ccdbc Phi: add helper makeObservablesForAllProperties
call ko.utils.knockprops.makeObservablesForAllProperties( self );
to create an observable() for every bridged property
2015-11-19 12:32:18 +01:00
Torsten Dreyer
fd3a5d240a Phi: define properties using the new object/hash syntax 2015-11-19 12:07:07 +01:00
Torsten Dreyer
7bfa20933b Phi: allow setting of properties via hash
Defining the set of properties for the knockoutjs bridge via
array of array is clumsy, allow setting those via an object aka hash
is much easier.
2015-11-19 12:00:16 +01:00
Torsten Dreyer
0187820627 Phi: refactor knockprops into separate module
Get the knockoutjs to flightgear bridge into a separate module to
make it reusable. First step for providing a simple usecase.
2015-11-19 11:42:29 +01:00
Torsten Dreyer
63f4642584 Phi: fix typo 2015-11-18 20:19:10 +01:00
Torsten Dreyer
cadc93c8bb fgfs.js: simpler implementation of property-set
Thanks to Laurent for the patch
2015-11-05 18:30:59 +01:00
Torsten Dreyer
ec37636b02 Phi: implement missing property set in fgfs.js
Implement the second part of the mirror in
FGFS.Property.prototype.setValue instead of the current TODO.

Thanks to Laurent for the patch.
2015-10-29 19:38:42 +01:00
Torsten Dreyer
dae544f0ec Phi: add the openaip layer to the map
Thanks to Laurent for this idea!
2015-10-27 22:11:32 +01:00
Torsten Dreyer
db0d8e1622 Phi: update url for german vfr charts to 2015 edition 2015-10-11 14:45:13 +02:00
Torsten Dreyer
57b48abe58 Phi: make widgets closable and detachable
Clicking the close-button removes the widget from the sidebar
Clicking the newwin-button detaches the widget into a dialog

TODO:
- add a way to re-attach or re-create a widget
- make sure widgets correctly scale with resizing of the dialog
- make widget area layout persistent
2015-10-09 09:56:06 +02:00
Torsten Dreyer
d04bf9d849 Phi: fix airspeed and heading display
round to integer instead of truncate
2015-10-09 09:51:49 +02:00
Torsten Dreyer
5a1a2a64a1 Phi: Add some base layers to the map
- Add layers from maps.stamen.com
- Add an empty layer for Richard
2015-10-02 21:52:29 +02:00
Torsten Dreyer
3fb7a64632 Phi: make header collabsible
Save some vertical pixels by clicking on the header.
2015-09-27 20:57:41 +02:00
Torsten Dreyer
14079c5b7d Phi: Enable reposition by dragging aircraft symbol
porting over existing functionality from the old map
2015-09-27 20:39:47 +02:00
Torsten Dreyer
eea0f43b80 Phi: expose profiler-start/profiler-stop commands 2015-09-15 18:06:19 +02:00
Torsten Dreyer
f4830030bf Phi: implement setting of date and time
Use MIT licensed clockpicker from
http://weareoutman.github.io/clockpicker/ for Android like clock picker

Know bug: next/prev month click only works with ctrl-click (jquery bug?)
2015-09-15 18:05:51 +02:00
Torsten Dreyer
d5d5508530 Phi: fix noneditable input fields in radiostack 2015-09-04 21:14:37 +02:00
Torsten Dreyer
84b8dc0786 Phi: deprecate the old browser map
The old map will be removed after the next release,
For now, provide a redirect page to Phi and keep a link
to the old implementation.
2015-09-04 21:14:37 +02:00
Torsten Dreyer
88880813ee Phi: fix "center on aircraft"
Correctly pan to aircraft when mode gets re-enabled even if aircraft is not moving
2015-08-07 18:53:12 +02:00
Torsten Dreyer
79cf519b6f Phi: map improvements
- make the AircraftMarker CSS style-able
- assing individual styles to AI, multiplayer and own aircraft
2015-08-07 14:17:05 +02:00
Torsten Dreyer
2812cc6321 Phi: refactor some map marker
- better aircraft marker symbol
- aircraft symbol loaded from file, no longer hardcoded
- marker as knockout component
2015-07-30 21:03:06 +02:00
Torsten Dreyer
07c6050707 Phi-Map: cleanup aircraft icon
strip anything but the svg element from the loaded icon file
2015-07-08 13:27:54 +02:00
Torsten Dreyer
e8849c882e Phi: fix heading of aircraft icon on map
correctly rotate icon if speed is zero (e.g. with the ufo)
2015-07-08 10:59:01 +02:00
Torsten Dreyer
ac42dc3acc Phi: don't use hardcoded svg for aircraft icon 2015-07-07 11:56:33 +02:00
Torsten Dreyer
e0b415ad74 Phi: Partial Fix #1769 route manager path
Use geodesic plugin for leaflet do correctly display great circle
paths between waypoints and handle wrapping across -180deg of latitude.

The entire leaflet library seems to have an issue wrapping around
-180/+180 deg of latitude :-/
2015-06-22 17:21:41 +02:00
Torsten Dreyer
9d6b1e6d58 Fix #1746: caching of the aircraft thumbnail image 2015-06-01 21:05:24 +02:00