Map starts up at South Pole

Bug #579454 reported by Kieran Fleming
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSatNav
Fix Released
Medium
Guillaume Rosaire

Bug Description

Should start at the last known location but maybe it's taking too long to find it?

Revision history for this message
chris_debian (cjhandrew) wrote :

I don't know anything about coding, but could we have a variable that store's the last known location, this would then be checked at start-up? I'm guessing with all the routing/ location stuff that happens already, this variable exists.

Alternatively, the user could always specify a 'home' location, but this is probably needlessly complicated for a small win and has security/ privacy issues, I think. Additionally, if the user travels a lot, then 'Home' could be as useless as displaying the South Pole.

Chris.

Revision history for this message
Guillaume Rosaire (zerog) wrote :

The lastKnownLocation was already working as expected before revison r89

This refactor seems to have changed the initialisation of the localisation service. I added a line that seems to have fixed the issue, see rev r114

Revision history for this message
chris_debian (cjhandrew) wrote :

ZeroG wrote:
> The lastKnownLocation was already working as expected before revison r89
>
> This refactor seems to have changed the initialisation of the localisation service. I added a line that seems to have fixed the issue, see rev r114

Brilliant, I look forward to tomorrow's download.

Chris.

Revision history for this message
Murphy (murphy2712+launchpad) wrote :

It works for me, good job :)

Revision history for this message
chris_debian (cjhandrew) wrote :

Murphy wrote:
> It works for me, good job :)

If I start OSN with GPS disabled, I get prompted to turn it on. I do this. If satellit not acquired, I get the prompt again. I now select 'Use wireless networks'. The usual 'Ok to share location with Google (my words)'? Prompt cannot be seen, so location service is not enabled. OSN then displays South Pole location.

Chris.

Revision history for this message
Guillaume Rosaire (zerog) wrote :

chris_debian wrote:
> Murphy wrote:
> > It works for me, good job :)
>
> If I start OSN with GPS disabled, I get prompted to turn it on. I do this. If satellit not acquired, I get the prompt again. I now select 'Use wireless networks'. The usual 'Ok to share location with Google (my words)'? Prompt cannot be seen, so location service is not enabled. OSN then displays South Pole location.
>
> Chris.

Well, OSN querys android to know the last acquired location (either with network or GPS), as you didn't have any, it cannot do anything else than fail and show you the south pole as it did before. I don't think we could do anything better than that. Maybe initialize the location to longitude 0 (Greenwich) and lat 0 (equator) ? Or EuroDisney or Buckingham Palace, the Eiffel Tower, Sydney's Opera, that won't be easy to decide :)

Revision history for this message
chris_debian (cjhandrew) wrote :

ZeroG wrote:
> chris_debian wrote:
> > Murphy wrote:
> > > It works for me, good job :)
> >
> > If I start OSN with GPS disabled, I get prompted to turn it on. I do this. If satellit not acquired, I get the prompt again. I now select 'Use wireless networks'. The usual 'Ok to share location with Google (my words)'? Prompt cannot be seen, so location service is not enabled. OSN then displays South Pole location.
> >
> > Chris.
>
>
> Well, OSN querys android to know the last acquired location (either with network or GPS), as you didn't have any, it cannot do anything else than fail and show you the south pole as it did before. I don't think we could do anything better than that. Maybe initialize the location to longitude 0 (Greenwich) and lat 0 (equator) ? Or EuroDisney or Buckingham Palace, the Eiffel Tower, Sydney's Opera, that won't be easy to decide :)

Fair point! It works well when I turn location services on before starting OSN. Happy to close, now.

Excellent job done!

Chris

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.