I'm new to themes and have two (perhaps silly) questions:
- What does this color specification (8 hex digits instead of 6) mean (e.g. found in "Voluntary Hike.xml") ?
<line stroke="#80ffff00" stroke-width="0.75" />
<line stroke="#4012D51C" stroke-width="0.75" stroke-dasharray="15,5,5,5" stroke-linecap="butt"/>
- How is it possible to define opacity to drawing objects (areas, lines, pois) ?
Regards Klaus
Quote from: "fzk"I'm new to themes and have two (perhaps silly) questions:
- What does this color specification (8 hex digits instead of 6) mean (e.g. found in "Voluntary Hike.xml") ?
<line stroke="#80ffff00" stroke-width="0.75" />
<line stroke="#4012D51C" stroke-width="0.75" stroke-dasharray="15,5,5,5" stroke-linecap="butt"/>
The first two digits define the opacity
@tommi: Thanks for the response ...
Two more questions:
- How to interprete the opacity value (what means full and what means no opacity) ?
- Or better: Could you point me to the documention of that feature ?
Regards Klaus
"ff" - 255 value, mean no alpha, so 100% opacity
"00" - 0 value, mean 100% alpha, so color is completely transparent
I have read in another thread that you have rewritten 25% of the mapsforge lib ...
Is the opacity feature part of your enhancements or is it also a feature in the default mapsforge lib ?
Regards Klaus
PS: Is there somewhere a list with all of yours Locus-specific enhancements ?
25% ... don't know if this value, but part yes. major changes are on background that do not affect rendering styles.
Anyway some description is already prepared here http://docs.locusmap.eu/doku.php/manual ... eme_config (http://docs.locusmap.eu/doku.php/manual:vector_maps_theme_config). Count that it's not yet complete, we still work on it. Ah and yes, transparency is fully supported in basic MapsForge system
Thanks for pointing to the doc ...
Very interesting for me are the scaling (icons, text) enhancements.
The feature concering "motorway signs" (bg*) should be used (IMHO) sparingly.
Such signs are very dominant on a map ...
The Mapsforge guys have announced version 0.4 of the lib (probably in 2-4 mounth).
How do you intend to handle this ?
Cheers Klaus
you're welcome.
plans on 0.4 of the lib are now simple - ignore this. I did quite a lot of changes to current library that improve system a lot and if there will not be any dramatical improvements, I'll have no reason to update to latest version
Locus vs. Mapsforge 0.4 - OK - understood.
Concerning themes there is one thing on my wishlist:
(//http://i.imgur.com/MWDcp.png)
This requires a "dx" feature in caption - eg. something like this:
<caption k="name" dy="20" dx="30" font-style="bold" font-size="15" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
Cheers - Klaus
no problem, "dx" added and will be available in next version
Quote from: "menion"no problem, "dx" added and will be available in next version
Works ... thanks for implementing this !
<caption k="name" dy="-10" dx="58" font-style="normal" font-size="15" fill="#4000FF" stroke="#ffffff" stroke-width="2.0"/>
(//http://i.imgur.com/71wUqVf.png)
Cheers - Klaus