Locus Map - forum

Support => Troubles & Questions => Topic started by: attroll on May 23, 2021, 01:56:18

Title: Boot up initialization
Post by: attroll on May 23, 2021, 01:56:18
When I start Locus Maps on my phone it does this initializing process each time.
Is this necessary?
Or is there a way to get it to boot up faster?
I do not want to leave the map running in the background constantly because it will put a drain on my battery. I only run it when I need it.
Sometimes when I want to bring up Locus Maps quickly while I am driving to plot something I see before I get to far past it, this makes it impossible because it takes about 45 seconds to boot up.
Is there a way around this?

Rick
Title: Re: Boot up initialization
Post by: michaelbechtold on May 23, 2021, 16:03:39
Hi Rick, I experience the same, but the reason on my phone may be the 200 OAM maps installed :-)
I typically run Locus as an Android service (see settings) 7 x 24. No battery drain induced by Locus, if it is not in the foreground and its GPS functions are passive.
Cheers
Michael
Title: Re: Boot up initialization
Post by: Menion on May 23, 2021, 20:27:00
Hi guys,
as Michael wrote, it is similar problem. The question is if the reason is the same.
In the case of Michael, it is a combination of the huge amount of maps, Android 11, and some weird unknown problem that case re-init of the maps from time to time.

Do you see in the loading dialog and info about what is the app doing for such a long time? Maybe there are just too many points&tracks on the map?
Title: Re: Boot up initialization
Post by: john_percy on May 24, 2021, 17:58:23
Aha! So the reason Locus is slow now is the extra vector maps I've added. I've deleted the extra maps and speeded it up.
Is there no way to make the loading of maps more intelligent? Can Locus not be set to look only at relevant maps?

Sent from my moto g(6) plus using Tapatalk

Title: Re: Boot up initialization
Post by: Menion on May 24, 2021, 20:19:03
John, give me please more info, mainly when was app slow in your case and what exactly you've changed.
Fact that I'm not facing any slowdown does not of course means, it does not exists.
Title: Re: Boot up initialization
Post by: Viajero Perdido on May 24, 2021, 20:27:53
Since approx. version 4.0, I've found the app much faster in starting up, good job.

My situation is, a modest number of maps, but ~20,000 points, many outside the visible area.  Loading this many points used to be noticeably slow, but no longer.  :)
Title: Re: Boot up initialization
Post by: john_percy on May 24, 2021, 20:37:03
Quote from: Menion on May 24, 2021, 20:19:03
John, give me please more info, mainly when was app slow in your case and what exactly you've changed.
Fact that I'm not facing any slowdown does not of course means, it does not exists.
I may be kidding myself but I had added a number of OAM maps to test various features, including Austria, Baden Wuerttenberg, Iceland, Australia, Ascension Island, Washington State, Yellowstone Park, and Locus had become much slower at both starting up and redrawing the map. The version 4 renderer (with OAM maps) seemed much slower than the version 3 one with Lomaps or v3 OAM. Deleting all those maps *seems* to have made a tremendous difference and I can now fling the map around again.



Sent from my moto g(6) plus using Tapatalk

Title: Re: Boot up initialization
Post by: Viajero Perdido on May 24, 2021, 21:14:13
John, do you have auto-loading turned on?  Locus seems to sometimes double-load OAM maps, turning light-green forests into dark-green ones as a side-effect.

Because of that, I have auto-loading off.  Maybe that's why, for me, the app is zippy.
Title: Re: Boot up initialization
Post by: jonny.blue on May 25, 2021, 10:40:06
Wow, because of my long loading process (up to 10sec) I
- removed all unnecessary vector maps
- set autoloading to false
- set most points and tracks to unvisible

and reached now 1 to 2 sec loading time. :)
Title: Re: Boot up initialization
Post by: attroll on May 27, 2021, 03:25:13
Quote from: Menion on May 23, 2021, 20:27:00
Hi guys,
as Michael wrote, it is similar problem. The question is if the reason is the same.
In the case of Michael, it is a combination of the huge amount of maps, Android 11, and some weird unknown problem that case re-init of the maps from time to time.

Do you see in the loading dialog and info about what is the app doing for such a long time? Maybe there are just too many points&tracks on the map?
Menion
What is is doing that is taking so long is "Reloading trips and caches:.
Title: Re: Boot up initialization
Post by: Menion on May 31, 2021, 15:38:33
Tracks are quite complex objects, so in case, you have more tracks visible on the map, it may take some time. Also a loading of caches, mainly when more waypoints is visible on the map, may take some time.
Title: Re: Boot up initialization
Post by: attroll on May 31, 2021, 20:15:11
I was just concerned and wondering why it took so long.
I have the same tracks and waypoints on a few other GPS programs that I use on my phone, and they load up instantaneously. It seems that there is a lot more processing that go on to load Locus Maps.
Title: Re: Boot up initialization
Post by: attroll on July 19, 2021, 19:20:45
I figured that I could just leave the maps running in the background and it would eleveate the initialization issue when ever I went back to the map. I thought I read it somewhere that it would not keep initializing if I did that. However, that is not the case it still keeps initializing.