Hi,
I am working through changing from getCurrentLocation to getPositionStream. As I need continuous navigation it is the recommended solution as far as I can see. The code below compiles and works.
My issue is that this gives me a single location, even though I have opened a position stream, which will continue feeding results.
Does anyone know if I re-run the same custom action if this opens another position stream, or reuses the one that's already open? That is what I will try next, and just see how it impacts performance, but there are so many people here that I´m guessing someone knows 🙂
After I exit my navigation phase I know I need to close down the stream, but I haven´t made this custom action as yet.