aboutsummaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2020-01-03Further re-center behavior improvementsicefish_8.99.5icefish/8.99.58.99.5Scott Murray3-2/+10
Add logic to enable re-center button when the view is centered but zoomed in/out, for consistency. Additionally, re-center when routing is started to improve user experience. Bug-AGL: SPEC-3081 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifed6702ee5f1d1db266c612a23fea51661c2a51b
2019-12-31Avoid broadcasting a second stop eventScott Murray1-0/+4
Tweak logic handling a stop event from the navigation API to avoid the accidental sending of another stop event. This avoids clearing a subsequent waypoint set that may be in flight, which was seen in practice when doing a stop and a waypoint set from the POI application. Bug-AGL: SPEC-3079 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic738e83fae1d312377f05aec4888d84572a44f4b
2019-12-31qml: reset bearing and zoomLevel when recenteringMatt Ranostay1-0/+2
Reset zoomLevel and bearing to default values when map re-center button is clicked. Bug-AGL: SPEC-3081 Change-Id: I6ae95fddd6b03278ff8e3d94b7f0675f1951a10b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-12-31images: rename files from .svg.png to .pngMatt Ranostay18-23/+23
Files are PNGs and not SVGs so drop that in the filenames and respective references. Bug-AGL: SPEC-3035 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Change-Id: I2f693d886bb22b3464ff8cbbbd1ee0a23cfdf69c
2019-11-27qml: fix route issue if already currently routed pathicefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.48.99.38.99.2Matt Ranostay1-4/+5
Dropping a pin on map wouldn't function if a route was currently in progress. Remove several conditionals that would block another routing from starting. Bug-AGL: SPEC-2880 Change-Id: I2279f4ed6d89f818f469b5e24352cae5e3b5f60e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-27ondemandnavi: create title cache per providerMatt Ranostay1-0/+8
Bug-AGL: SPEC-2985 Change-Id: I5cd77bf643cb5bff16718eeba82171e4ec2328ff Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-27ondemandnavi: add qml invokable function for cache locationMatt Ranostay2-0/+13
Bug-AGL: SPEC-2985 Change-Id: I5b412e968cac0d1034be35822de3bff70bb073c1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-12navigation: fix typo in getStartLongitude() qml callicefish_8.99.1icefish/8.99.18.99.1Matt Ranostay1-1/+1
Bug-AGL: SPEC-2880 Change-Id: Idcc72d943c633965a74a907c1a08cb7389905d1c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-11ondemandnavi: add agl-service-navigation interfaceMatt Ranostay4-25/+52
Switch from the application providing DBus objects to consumers with using afb binding with proper JSON responses. Bug-AGL: SPEC-2880 Change-Id: If587ddeaea9a0f28e71c2bee790acbf53425de9f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-11ondemandnavi: remove DBus interfaceMatt Ranostay6-388/+2
For proper afb interfae to function the DBus support needs to be removed. Bug-AGL: SPEC-2880 Change-Id: Ib501583e5cb3821bf5479d875e447411477c7da3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-11ondemandnavi: remove aglextras from qmake filesMatt Ranostay1-1/+1
aglextras is not used in any of the QML files so not actually needed as a dependency. Bug-AGL: SPEC-2880 Change-Id: Iba9b8ded2138ed83385f1babb8892b1b20186a66 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-01ondemandnavi: fix typo of longitudeMatt Ranostay2-8/+8
Fixed typo of longitude (was longitute) in code and configuration. Bug-AGL: SPEC-2933 Change-Id: I2b49d8c7d8ff581c0c7caeff43e50c40d603c127 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-24ondemandnavi: remove DESKTOP defineMatt Ranostay2-47/+0
With switchover over to afb agl-service-navigation it will be unlikely to run on a desktop system. Bug-AGL: SPEC-2880 Change-Id: I56819383a9fc2e18323cbd33044dfa4d544f1ab5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-20Fixes to improve interoperation with tbtnaviScott Murray3-12/+43
Changes include: - Add support for actually sending stopDemo and Arrived DBus signals. - Fix typo in Arrived signal name in org.agl.naviapi.xml and dbus_server.cpp. - Change some qDebug messages in dbus_server.cpp to qWarning as it seems more appropriate. - Actually use Mapbox style URL from naviconfig.ini. Bug-AGL: SPEC-2916 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib32bcc50a495538362c5ca77c9de3941d81c17bf
2019-10-16ondemandnavi: remove unused signalsMatt Ranostay2-31/+0
Part of the effort to cleanup DBus usage for navigation to JSON events remove all unused sections of the application. Bug-AGL: SPEC-2880 Change-Id: I2e97f2ffde998b13419de5eaeb9b3bc3e6b073e3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-24qml: add MapBox copyright attributionMatt Ranostay3-3/+25
Add attribution that is required from usage of MapBox maps Ref: https://docs.mapbox.com/help/how-mapbox-works/attribution/ Bug-AGL: SPEC-2822 Change-Id: I69990c92031f51721e2aef9b230a02c0a2e84b76 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-23qml: allow map plugins to be set on runtimeMatt Ranostay3-18/+37
Allow selection of OSM over MapBox with enableOSM configuration file option. Bug-AGL: SPEC-2667 Change-Id: Ie055ca1263b0a6f2a74046e5ff85535e48e60d31 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-22Revert "qml: breakout MapBox plugin references"Matt Ranostay4-39/+13
This reverts commit fb68a3ddc7fcdf67c62fcde32914d4ed3936680a. Bug-AGL: SPEC-2667 Change-Id: Ic1b7d84e2fa58e98e7ba05c5f1b825503aa36e1d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-22Revert "qml: add OpenStreetMaps map engine option"Matt Ranostay4-47/+2
This reverts commit 538634c916e66e47cceaee5a98131eaadd60b269. Bug-AGL: SPEC-2667 Change-Id: I2e962fb3b5508863d9212d49d423ad0ce7fbd332 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09qml: add OpenStreetMaps map engine optionMatt Ranostay4-2/+47
To allow testing in regions without easily accessible MapBox API keys add an ENABLE_OSM build option. Bug-AGL: SPEC-2667 Change-Id: I8ba72b774ed0ab1cf740dc0ebdb3048a6f403696 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09qml: breakout MapBox plugin referencesMatt Ranostay4-13/+39
To allow placement of other mapping engines make a common MapPlugin competent. Bug-AGL: SPEC-2667 Change-Id: I7bb4ae600304db104f39feeba3f35f342452584e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-06Run dos2unix on entire repoMatt Ranostay10-619/+619
Remove CR+LF line endings on most files in the repo Bug-AGL: SPEC-2667 Change-Id: I8ad7cd9ea20658dabdecf8ce14a51cb8a851b999 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-06Remove execute bit from filesMatt Ranostay7-0/+0
Remove superfluous execute bits on source files. Bug-AGL: SPEC-2667 Change-Id: Ibe396d26bf2d03bd691ef56c812d45ebf128f072 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-25Update homescreen event handlingScott Murray1-59/+50
Updated homescreen event handling logic to use the newer Event_ShowWindow event instead of Event_TapShortcut, and match what the other demo applications do. This fixes bringing the application back to the foreground after switching away, which was not working. As well, reindented main.cpp to improve readability. Bug-AGL: SPEC-2675 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib183920325eb41aefd7aca1f323a8b99b9092b13
2019-07-24Initial import from githubScott Murray48-0/+70503
Import from http://github.com/YoshitoMomiyama/aglqtnavigation.git as of commit a6930c2, with the following minor changes: - .gitignore tweaked to remove itself - .gitreview updated Bug-AGL: SPEC-2667 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I91fed0f6349bf1952e41132058929b70a2b0fe5b