I'm using mapsforge 0.5.1. My App rendering the map displays certain highways at particular zoom levels. For example, it displays k="highway" v="primary" at zoom=13 and above. However it refuses to display the names of the highways until zoom=15. My rendertheme-v4.xml is the same as github ...\mapsforge-0.5.1\Applications\Android\Samples\assets\renderthemes\rendertheme-v4.xml with a small change that should allow the names to display at zooms 13 and 14. I replaced this rule in the original mapsforge-0.5.1 version of rendertheme-v4.xml:
With this rule in my rendertheme-v4.xml:
The name highway labels do not appear at zoom 13 or 14 (the stroke colour does change to red at zoom 15, proving my rendertheme-v4.xml is being used).
I also notice that if I reduce the font-size from 12 to 8 the label does appear at zoom 14 but not zoom 13.
Something is going on here that is unexpected and undocumented as far as I can tell. Can someone explain this behaviour? I'd like to be able to set up rules where I can display some highway labels at zooms 12 to 14 and use bigger fonts. Can someone describe rules that allow this?
أكثر...
With this rule in my rendertheme-v4.xml:
The name highway labels do not appear at zoom 13 or 14 (the stroke colour does change to red at zoom 15, proving my rendertheme-v4.xml is being used).
I also notice that if I reduce the font-size from 12 to 8 the label does appear at zoom 14 but not zoom 13.
Something is going on here that is unexpected and undocumented as far as I can tell. Can someone explain this behaviour? I'd like to be able to set up rules where I can display some highway labels at zooms 12 to 14 and use bigger fonts. Can someone describe rules that allow this?
أكثر...