Locus Map - forum

Content & Tools => Themes - Vector maps => Topic started by: zossebart on December 14, 2018, 13:41:56

Title: mapsforge v4 themes for Openandromaps
Post by: zossebart on December 14, 2018, 13:41:56
According to this blogpost on openandromaps.org (https://www.openandromaps.org/locus-direct-install-link-fuer-mehrsprachige-v4-karten), OAM plans to stop producing v3 vector maps as of mid 2019.

Fortunately, Locus is able to deal with v4 maps (provided as "ML" - maps from OAM) using the standard mapsforge v4 library (without the Locus-specific enhancements like automatic map loading). Btw.: what other enhancements does the Locus v3 implementation offer compared to the default v4 implementation? I remember something like rendering speed optimizations...what else?

The other thing is themes...currently I use some really nice Locus-specific themes I don't want to miss. I'd like to start a list of OAM-compatible themes and the availability of v4-versions. I try to update the list when I or others find out more details...

themev4 version
Elevateyes
Elementsyes
VoluntaryUKyes
HiLoin development, called 'active RT'
Tiramisuyes
Totmyes
outdoorX (outdoor/desert/navigation)outdoorV4 and desertV4 available, will be further developed
Title: Re: mapsforge v4 themes for Openandromaps
Post by: john_percy on December 15, 2018, 10:11:40
Link to OAM post in English: https://www.openandromaps.org/en/locus-direct-install-link-for-multilanguage-v4-maps

Locus enhancement for v3 includes
- controllable intelligent scaling (resolution-aware) of text, symbols on zooming
- proper treatment of dotted or dashed lines on zooming, so visual spacing stays constant
- fancy labels for roads etc
- ability to display contour lines as smoothed curves
- ability to render elevation text of contour lines "looking up the hill" (switch off rotation of pathtext for "normal" viewing)
- uppercase transformation of text
- dx shift of path text
- dy shift of pathtext understands if text has been rotated for "normal" viewing
- speed enhancements

Someone can probably add to this list which I've just done from the top of my head

Title: Re: mapsforge v4 themes for Openandromaps
Post by: michaelbechtold on December 15, 2018, 15:37:26
Well, some of that lies in Locus and can be replicated by Menion once he gets serious to move ahead with V4 (incl. MF POI DBs - address DB would stay Locus "private" in any case, I suppose).
Some other useful stuff from your list Menion should contribute to Mapsforge base, which has been a kickstart for Asamm initially ...
Title: Re: mapsforge v4 themes for Openandromaps
Post by: zossebart on January 04, 2019, 08:01:44
Thanks @john_percy for your feedback on the special Locus enhancements!
There is a main thread for mapsforge v4+ development now...but I'd like to keep this thread open because it's about themes and I think not all v3 themes (especially the themes which use locus-specific enhancements) will work with v4 library.

I guess we have to wait for menions actions in the next months and try themes again when there are new (beta) versions available...
Title: Re: mapsforge v4 themes for Openandromaps
Post by: jerome on April 13, 2019, 17:12:00
Hello,
I also tried several times V4 maps from OpenAndroMaps (the ML version). And I stopped doing so, because some parts of the maps stay white depending on the zoom level.

I just made some snapshots with Locus Map Pro 3.37.2 on a Samsung Galaxy S5 mini.

Here the map Alps Ost in the ML (V4) version with the theme Elevate for bicycles:
(https://i.ibb.co/sC40mmS/Alps-Ost-ML.png)

Here the map Alps Ost in the old (V3) version with the theme Elevate LE for bicycles:
(https://i.ibb.co/WF9WMhm/Alps-Ost.png)

I only get the problem with with tiles with V4 maps. I tried different themes and always get the same white tiles. I got the problem with all ML maps that I tried.
Title: Re: mapsforge v4 themes for Openandromaps
Post by: menion on April 13, 2019, 18:21:56
Hello jerome,
if possible, leave it be for a while. The whole system around maps will completely change probably in the end of May (based on this topic: https://forum.locusmap.eu/index.php?topic=6471.msg54300#msg54300 ).
So a) try and check what we discuss in the mentioned topic or just b) wait till new version with these changes. Thanks.
Title: Re: mapsforge v4 themes for Openandromaps
Post by: zossebart on April 26, 2019, 12:27:58
Updated list in first post (DesertX and TOTM)
Title: Re: mapsforge v4 themes for Openandromaps
Post by: Tobias on April 28, 2019, 10:19:27
I made a reference which mapsforge version support which tags that can be found here:
https://www.openandromaps.org/oam-forums/topic/mapsforge-rendertheme-reference
Title: Re: mapsforge v4 themes for Openandromaps
Post by: john_percy on April 28, 2019, 14:19:38
Is there a definitive guide to the usage of these tags anywhere?

Sent from my moto g(6) plus using Tapatalk

Title: Re: mapsforge v4 themes for Openandromaps
Post by: Tobias on April 28, 2019, 21:02:59
Is there a definitive guide to the usage of these tags anywhere?
The best thing is still this:
https://github.com/mapsforge/mapsforge/blob/master/docs/Rendertheme.md
That's a reason why I made the table, to have at least a complete overview. Of course one can add a lot to it, but it's a start.
Title: Re: mapsforge v4 themes for Openandromaps
Post by: zossebart on June 17, 2019, 08:56:51
Nice, with the release of TOTM v4, there is a v4 version for all the themes in my list now! Thank you to all theme developers for migrating to v4!

Are there other themes which are not converted to v4 yet?