Update of map core (2019)

Started by Menion, February 16, 2019, 13:05:25

0 Members and 6 Guests are viewing this topic.

Menion

One of the major problems with maps are caused by really really old system how the app works with map files, online maps, the system for rendering map tiles etc. I decided to update this system to try to solve most of the major problems.

Main info: to test changes is needed special ALPHA version. Currently not yet published, plan is on start of March. Subscribe to receive new information once ALPHA is ready for the test.

Current major visible changes

Implemented

  • automatic scaling of all raster maps based on device DPI
  • support for custom HDPI online maps, more info

In progress/preparation

  • features related to MapsForge V4 maps, more info
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download

Menion

#1
Hi guys,
one month delay ... not too bad I believe.

So who is brave enough to try the new special Alpha version? :)

How to:
Download 3.37.2.4 Map-alpha: https://asamm.myqnapcloud.com/share.cgi?ssid=04Wcqtt
Download 3.37.2.6 Map-alpha: https://asamm.myqnapcloud.com/share.cgi?ssid=0H4qEQX
Download 3.37.2.7 Map-alpha: https://asamm.myqnapcloud.com/share.cgi?ssid=0qcpBbS

Version is based on 3.37.2 + latest fixes + months of work on new "map core".

What to test:
Best: use as you usually do with the regular version.

I mainly try to achieve:
- better support for MapsForge V4 maps
- the good old Map manager that looks exactly the same as in current public version (it use different map system on background)
- improved suggested maps in "Quick map switch"
- better display of raster maps on devices with higher DPI
- correct work of overlays
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download

SwissPoPo

Nice work. The map scaling is working.

I have done some quick map and theme versions checks.

Map v3: ok
Map v4: ok incl. multilanguage, ? symbol in the menu.
Map v5: ok incl. multilanguage, ? symbol in the menu.

Theme Locus: ok, but only for map v3
Theme v1: ok
Theme v4: ok, but only for map v4 or v5
Theme v5: not selectable
Are these restriction still needed?

I have seen some symbols and text on the map which are not coming from the actual selected theme. Not all elements are cleared during a theme change.
  •  
    The following users thanked this post: lor74cas

lor74cas

Quote from: SwissPoPo on April 06, 2019, 14:47:28
Map v4: ok incl. multilanguage, ? symbol in the menu.
Just to confirm the ? symbol.
I'm not too expert in maps to give you the required help.
Just tested a v4 map with elevate 4 theme on my old phone.
Locus Map 4
Locus Map for Garmin
Locus Tasker
  •  

Menion

@SwissPopo
you are fast, thanks!

Yes, there are still some missing icons, will improve it next days.

Themes:
1. Internal themes have no sense to select for other maps then LoMaps I believe, so they do not appear for V4, V5 maps. Petr plan to also convert LoMaps & it's themes to V4, but not sure if there will be enough time this year.

2. V4 theme for V3 maps? I'm no expert, but does it make sense?

3. V5 theme, hmm thanks, have to test it.

I did not notice some artifacts on the maps during theme switching. Between which themes you switched so I may simulate it?

@lor74cas
there is no need to be an expert, really. For me, best is to know, that app works as expected. In this version are also completely new versions of special libraries so it definitely needs some "basic usage" tests to validate it does not crash.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Tobias

#5
Thanks, looks good at first glance, but no real test.
Quote from: menion on April 06, 2019, 15:27:28
2. V4 theme for V3 maps? I'm no expert, but does it make sense?
That's the confusing thing with mapsforge: there are three version numbers (program, map and theme), but the only important one for compatibility is the program version, as it determines which highest map or theme version it supports. Until now there is a very good backward compatibility, so mixing theme and map version is no issue. The version numbers of themes is not connected to the one of maps at all, they where introduced at different points of time (e.g. Rendertheme V4 was end of 2014, Maps V4 end of 2015). As long as there are apps that only support V3 maps, it makes sense to have them on your device if you use several apps. But you can still have the (huge) advantage of V4 themes with them.
developer of Elevate mapstyle for OpenAndroMaps
  •  

michaelbechtold

Hi Menion, you bet I am trying.
Downloaded Hessen_ML.map from OAM, which is MF V4.
Locus is able to show the information of this map, but refused to open.
Then I tried an online map, followed by Hessen_ML again - now it did open.
But I have to run now, will try stuff later.
Cheers and have a great weekend!
Michael
  •  

michaelbechtold

PS: just noticed, that on my mother's A5 the % zoom is 72% - looks like automatic adaption according to dpi.
  •  

lor74cas

contour lines not present on a map v4 elevate theme 4 but the shadows are correctly represented
Locus Map 4
Locus Map for Garmin
Locus Tasker
  •  

Tobias

#9
Quote from: lor74cas on April 06, 2019, 17:06:08
contour lines not present on a map v4 elevate theme 4 but the shadows are correctly represented
Are you using city mapstyle? Check if contour lines are set.

Some observations:
- when using mapstyle menu and I'm changing mapstyle with Elevate and don't press the arrow top left/back button, but only touch the map, the mapstyle changes aren't applied (as it was before).
- probably known: zoom level/magnificaction can't be switched on when touching the map scale
- Edit: very much improved rendering of mapsforge maps at higher ppis, thanks to larger tile sizes; theme renders pretty much as intended, although not the same scale as in Cruiser or OruxMaps
developer of Elevate mapstyle for OpenAndroMaps
  •  

lor74cas

#10
Quote from: Tobias on April 06, 2019, 17:15:40
Quote from: lor74cas on April 06, 2019, 17:06:08
contour lines not present on a map v4 elevate theme 4 but the shadows are correctly represented
Are you using city mapstyle? Check if contour lines are set.

Some observations:
- when using mapstyle menu and I'm changing mapstyle with Elevate and don't press the arrow top left/back button, but only touch the map, the mapstyle changes aren't applied (as it was before).
- probably known: zoom level/magnificaction can't be switched on when touching the map scale
- Edit: very much improved rendering of mapsforge maps at higher ppis, thanks to larger tile sizes; theme renders pretty much as intended, although not the same scale as in Cruiser or OruxMaps

No way, Elevate Hiking or City, flagged and unflagged contour lines no results.
I also used your suggested procedure using top left back button.
It's the same with elements theme.
I tried to switch from italian to english language to test if it was something related to, but nothing
Locus Map 4
Locus Map for Garmin
Locus Tasker
  •  

Tobias

Quote from: lor74cas on April 06, 2019, 17:51:58
No way, Elevate Hiking or City, flagged and unflagged contour lines no results.
I also used your suggested procedure using top left back button.
It's the same with elements theme.
I tried to switch from italian to english language to test if it was something related to, but nothing
Are you using an OpenAndroMap V4?
developer of Elevate mapstyle for OpenAndroMaps
  •  

john_percy

#12
It may be resolution-related. For me, items including contour lines only appear in MF V4 maps at (apparently) higher zoom levels than expected. I think that this is supposed to be to do with making the display resolution-independent but I don't understand it or like it.
Also, I get each map appearing twice in Smart Choice Maps.


Sent from my moto g(6) plus using Tapatalk
Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

Andrew Heard


  • Switching between Tasmania LoMap & OpenAndoMap maps; once crashed but not since. Can't reproduce yet.
  • contours look good to me (in appropriate themes)
  • shading is not working at all
  • on tablet in portrait & landscape modes the left side theme panel/settings are not fully displayed - see attached - these screen caps are not truncated - this is what I see on the left side
  • I'm not a map power user, but otherwise looks good to me so far
LM4.26.3.2 RC12 GOLD user ID:c7d47597a
  •  

lor74cas

Quote from: Tobias on April 06, 2019, 19:32:00
Quote from: lor74cas on April 06, 2019, 17:51:58
No way, Elevate Hiking or City, flagged and unflagged contour lines no results.
I also used your suggested procedure using top left back button.
It's the same with elements theme.
I tried to switch from italian to english language to test if it was something related to, but nothing
Are you using an OpenAndroMap V4?
http://download.mapsforge.org/maps/v4/
Italy.map
And
Slovenja.map

Inviato dal mio SM-A520F utilizzando Tapatalk

Locus Map 4
Locus Map for Garmin
Locus Tasker
  •