Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Tobias

#1
Quote from: menion on May 12, 2020, 09:42:41
Thanks for tests guys. Oki, few more updates to next version

- hopefully fixed local links, thanks John. This "mapsVector/_themes/freemap_slovakia.pdf" inside X.lnk file works for me now
- support for more legends based on locale. Just add two-letter language code to the end of files, like X_en.pdf, X_de.pdf
Thanks, works well, even with
- theme.pdf (engl. for general use)
- theme_de.pdf (only for german)
#2
Quote from: menion on May 11, 2020, 21:10:55
Oki, so give a try to the new version3.45.1.5

Theme file:
../my_theme.xml

Legend file:
../my_theme.pdf
or
../my_theme.lnk > simple text file that may contain a path to legend. By path is currently considered absolute path to file, a relative path within Locus directory, or URL to the web page with the legend.

I've not tested this, so let me know if something won't work.
I've got an english and a german legend, so something like this would be appreciated:
.../my_theme.en.pdf
.../my_theme.de.lnk
#3
Quote from: Viajero Perdido on October 17, 2019, 23:21:33
Here's a screenshot.  There IS actually a white border around the text, but it's very very thin.  Notice the "101" text in the lower right corner?  Even at this larger-than-tablet magnification, it's very hard to tell there's any separator.
Thanks, I thought you had examples without white border and there would be a bug. As said above, the border is not scaled 150%, so it is too small for letters at his size, but OK for what is was meant.

QuoteAlso, Locus beta 3.40.2.1 here is going nuts, drawing and redrawing the labels at two wildly different sizes.  Here I've caught a screenshot with both sizes shown at once.  Panning seems to trigger some re-rendering, and I had to pan a lot to line up things for the screenshot.
I can't reproduce this, but the really small ones are either wrong or, like in the screenshot with "4m" scale, are too much zoomed in. Until it's optimized for MF 0.12, street names are mainly optimized for zoom 16/17, where there was a chance to see them in previous versions. As street width scales with zoom, but the text size doesn't, the street names look tiny at ZL 22 in your example, but are actually just the same size as in ZL17. I don't think there's any sense in adding lots of code for optimizing for zoom levels that don't have a practical value ;-)
Quote
I have to disappear shortly from the internet for a few days, sorry.
Good for you :-)
#4
Quote from: Viajero Perdido on October 17, 2019, 16:53:43
BTW, I usually have my text size at 150%, which makes road names hit the borders of the road they're rendered inside/atop, black hitting black, which makes white borders around the letters a bit more desirable.
Could you post a screenshot where black is hitting black? There are white borders in Elevate around letters, so this shouldn't happen. It's probable that the borders aren't scaled as the text size in your 150% zoom option, but making borders thicker at 100% so that they look good at 150% isn't a solution.
#5
I'm planning to adjust pathtext rendering for Elevate optimized for MF 0.12+ in a future release, when major support for it is more common. MF 0.12 was just released in September, so major apps like Locus and OruxMaps have it just integrated in their beta releases.
The small street names are a workaround because of the bad rendering with the earlier versions - better a small one than none at all. But now (a bit) larger ones are possible, but the theme has to be changed.
#6
Quote from: jusc on September 29, 2019, 15:41:33
"style" (missing in your reference)
Thanks, added it
Quote from: menion on September 29, 2019, 16:23:43
Anyway because MF project seems not to be dead like in times I started to write own modded version, I'll instead contribute changes back to the official version.
Good news :-)
BTW, are you planning to update the V4-maps engine to mapsforge 0.12.0? This finally adds curved path text rendering, which is great for street names:
https://github.com/mapsforge/mapsforge/pull/1112#issuecomment-477969418
#7
Quote from: jusc on September 28, 2019, 12:44:31
What is to do? Doesn´t the  features of the Locus V3 rendering engine work any longer?
Is there any description for Locus themes of all tags I can use?
Locus uses the standard mapsforge engine for maps V4 and higher. As the Locus extensions were never ported back to mapsforge, they can't be used.
I made a reference which tags are supported by which mapsforge version here:
https://www.openandromaps.org/en/oam-forums/topic/mapsforge-rendertheme-reference
#8


Quote from: tapio on May 24, 2019, 08:29:55
I must correct, I used Elements theme. It displays a lot, but when zooming out town names should have the right prio...

Please use Elevate for normal or densely mapped areas. Elements is meant for countries like Iceland, northern Scandinavia etc.
#9
Quote from: tapio on May 23, 2019, 21:10:56
Newest Elevate and a v4 map, and the city name overshadowed by "Wohnwagen-Platz"... Sizes of town/city names like totally random.
Could you post a screenshot?
#10
Quote from: tramp20 on May 01, 2019, 07:42:58
Quote from: Magellan on February 14, 2018, 15:29:28
Of course, this theme is only for V3 maps.

Please could you update your theme to V4 maps?
I really love it and used it always with the LoMaps.
The original Tiramisù 3 should work with V4 maps, just put it in a seperate directory in the theme folder. You find it in the link in the first post.
#11
Quote from: john_percy on April 28, 2019, 14:19:38
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.
#12
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
#13
Quote from: Magellan on April 27, 2019, 05:04:34
Thanks for the hint about the problem tags in the theme for V4 on your site.
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
#14
Themes - Vector maps / Re: [Theme] TOTM
April 21, 2019, 09:17:39
Refused is probably the wrong word; I don't think that the mapsforge developers ever got a pull request for those Locus extended theme rules that was refused. That would also be the easiest solution, if a mapsforge rendertheme V6 supports those tags, it would be much easier to adjust the themes. But someone has to write the pull request ;-)
In the meantime there's still things that are improved via the mapsforge community, one of last big issues is now gone - curved pathText is now working:
https://github.com/mapsforge/mapsforge/pull/1112
#15
Other features / Re: Update of map core (2019)
April 20, 2019, 15:13:47
Quote from: menion on April 20, 2019, 00:14:39
Perfect :).
It is now finally possible to have two or more XML files in the same subdirectory and all these files appear for selection. It is then easy to share the same icons for themes without messing the root "_themes" directory as was necessary till now.
That's great to hear, can't wait for the release with all those improvements. Seems like I'll have a one theme file fits all apps solution. Some theme cleaning/deinstallation option is also a good idea.