1
0
Fork 0
Commit graph

41 commits

Author SHA1 Message Date
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
Edward d'Auvergne
45b742bb5d Removal of the unused executable bit from the Phi/3rdparty/knockout-jqueryui JavaScript files. 2015-04-29 17:50:25 +02:00
Torsten Dreyer
5d78ffa668 Phi: tweaking the weather diagram
- render actual cloud layers instead of dummy values
2015-04-23 09:27:39 +02:00
Torsten Dreyer
eb847230d5 Phi: correct wind arrows on Stuve chart
Round wind speed to nearest 5kt
2015-04-18 18:25:12 +02:00
Torsten Dreyer
290c699403 Provide a redirect for the browser based map 2015-04-18 13:22:15 +02:00
Torsten Dreyer
304992be59 Phi: initial commit for experimental weather dialog
new manual weather configuration based on a
http://en.wikipedia.org/wiki/St%C3%BCve_diagram Stuve (Stüve) Diagram.
work in progress, up to now it's just displaying current weather, edits
are not yet written to fg.
2015-04-18 13:10:48 +02:00
Torsten Dreyer
703ee0b6fb Move the http property browsers' css to it's new home 2015-04-18 13:08:06 +02:00
Torsten Dreyer
190e8449ce Phi: move URL to the browsers root directory
- rename the directory from webgui to Phi
- let the webserver's root point to Phi instead of Docs
- redirect old /gui/ url to the new location (/)
2015-04-18 13:03:46 +02:00