Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4042
    bradrh
    Participant

    I’ve been frustrated by how the street and place names show up on arbitrary zoom levels. I saw the faq entry that said this was a limitation of vector maps. I thought I would try my hand at creating or modifying a theme. Can someone point me to an tutorial or introduction on how to create a theme?
    Thanks

    #4043
    Avatar photoTobias
    Keymaster

    Good luck with that, it’s not that we haven’t tried. Things look brighter with mapsforge 0.5 (supported by OruxMaps Beta 6.4, Cruiser, Atlas), but with mapsforge 0.3 it’s pretty bleak.

    Have a look at Elevate 3.0 preview here, it’s way better for place names:

    Street names (pathText) are still not working when the way segments are too short for the whole name – there is nothing you can do, expect making the fontsize smaller.

    Here are the basic informations about theming for mapsforge 0.5 – everything below Rendertheme Version 4 works only with the programs mentioned above:
    https://github.com/mapsforge/mapsforge/blob/master/docs/Rendertheme.md
    https://github.com/mapsforge/mapsforge/blob/master/mapsforge-map/src/main/resources/renderTheme-v4.xsd
    Everything else is learning by doing, or reading all comments here, there is no real tutorial.

    Locus has some proprietary tags, maybe there is also something useful but I can’t help there.

    Best regards,
    Tobias

    Developer of Elevate mapstyle

    #4045
    bradrh
    Participant

    Thanks. I’ll poke around when I get some time, but it doesn’t sound promising. I’m using Oruxmaps, so perhaps I should try the beta release.

    #4053
    Avatar photoJohnPercy
    Participant
    #4740
    Miguel Curto
    Participant

    The previous link isnt working, any documentation on how to change properties for “line stroke”? Took me a looooong time to figure out I could change opacity just by adding the percentage on the beggining of the hex number. 🙂

    I’ve started with the Lightnyng theme as the Elevate was just too complicated to start with, but cant figure out whhy on Lightning there are not edges on rodas that you get on other themes.
    Can someone please tell me what triggers a line being rendered with an outside black pixel or not?

    Ty in advance.

    #4741
    Avatar photoEmux
    Participant

    Have you looked at Mapsforge links that Tobias mentioned above?

    Specifically the render theme wiki page and the xml schema which can guide you on the parameters of each tag.

    Emux
    CruiserAtlas

    #4742
    Avatar photoTobias
    Keymaster

    Can someone please tell me what triggers a line being rendered with an outside black pixel or not?

    It’s just an additional darker line below another. If it’s defined earlier in the theme it’s rendered below. See casings/cores in Elevate.
    One of the simplifications to make Lifhtning faster is to have no double lines for casings.
    Best regards,
    Tobias

    Developer of Elevate mapstyle

    #4743
    Miguel Curto
    Participant

    I did, but instrutions are a little vague, the osmarender page the wiki refers was more helpfull but it varies a bit, the opacity example is a good exemple.
    Tks Tobias, I suspected there was a subterfuge but couldn’t figure the trigger. Ty.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.