StopPickerPage: Add button for current location
This allows to use the users's current GPS location, an accuracy of 50 meters is required for the location to be accepted. The location also must not be older than 1 minute.
Probably need to add QtLocation to some find qml module stuff since it’s not exclusive to the onboard lib now? Should this be put in a Loader to make it fully optional?
Its permission stuff doesn’t interface with the onboard Wifi status stuff though.
Bildschirmaufnahme_20250829_120755
(Video is using geoclue on desktop with accuracy check disabled) Verified that it also works on Android, under the open air it’s a lot quicker, too.
Geoclue with accuracy check:
(Wonder if we should show the accuracy here?)
There’s still lots of room for improvement, e.g. not having to wait for the GPS location fix when selecting it but only when submitting the request where the location will hopefully already be determined since the user was likely spending some time filling out the rest of the form. The UI also doesn’t know that this Location represents the current location (e.g. to avoid offering current location as destination when it’s already the departure) but I think it’s a good first step to offer this feature at all.
It’s also opt-in by the relevant app.

