Problem with MapItems

Bucky Kid shared this problem 2 years ago
Solved

Hello, I have several problems with opening list of mapitems

  • loading the content takes very long (1-2 minutes). Long delays apply also on list refresh after a category is loaded.
  • category icons are not displayed. Instead only dummy icon is shown (PNG files are present in directory)
    YOPxp01
  • selected categories are mostly remembered when Locus is shut down but not always
    I think Locus should better remember shown categories and keep them active more consistently between sessions

Best Answer
photo

Hello Bucky Kid,


thanks for a file for tests. Well, ... too much files :).


Anyway improved:

- also on my device, refresh took almost 30 sec. Now reduced to 3 secs

- small icons are correctly visible on a map, but were missing in the list ... fixed

- storing of state of imported items is also saved when you close "Data manager" screen. So only possibility that state is not saved is that app crash/terminate itself when you are still in "Data manager". Otherwise state should be stored.


So hope at least this improvements will be helpful. 3 secs are not yet best, but it's 10x faster. Problem is here mainly full page reload after import, but it needs a lot more work, then I just made today. Thanks!

Comments (6)

photo
1

Hello Bucky Kid,


three problems. Last one probably is probably because of some accidental termination of Locus by your system, is it possible?


Previous two ... is it acceptable for you, to share with me content of your "mapItems" directory? Because I do not have such problems, best for me should be simulate issues with same data as you have, thanks.

photo
1

Hello menion, yes it's possible. Locus sometimes does crash. But should be able always remember last state and restore on next launch, right? My suggestion - when a POI category is loaded/unloaded, store the state immediately, not on exit. This will ensure that all POIs from last session will reload on next.


Where can I send you content of my "mapItems" directory?

photo
1

Hello, "Locus sometimes does crash"? It should not!!


Send me content on locus(@)asamm.com email please, thank you.

photo
1

I measured the load time and it takes 32 s. to load

photo
1

Hello Bucky Kid,


thanks for a file for tests. Well, ... too much files :).


Anyway improved:

- also on my device, refresh took almost 30 sec. Now reduced to 3 secs

- small icons are correctly visible on a map, but were missing in the list ... fixed

- storing of state of imported items is also saved when you close "Data manager" screen. So only possibility that state is not saved is that app crash/terminate itself when you are still in "Data manager". Otherwise state should be stored.


So hope at least this improvements will be helpful. 3 secs are not yet best, but it's 10x faster. Problem is here mainly full page reload after import, but it needs a lot more work, then I just made today. Thanks!

photo
1

Thanks menion for list fix.

The state of loaded mapitems is occassionally lost even when Locus closes from map view (either regular exit or by crash). I keep the same selection persistently. I don''t know how to log it because mostly the state is remembered.