Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THEME: Contour lines not visible #1013

Closed
moiatto opened this issue Feb 10, 2023 · 0 comments
Closed

THEME: Contour lines not visible #1013

moiatto opened this issue Feb 10, 2023 · 0 comments

Comments

@moiatto
Copy link

moiatto commented Feb 10, 2023

I downloaded the default.xml theme, saved in assets folder and called:

// Render theme
AssetsRenderTheme assetsRenderTheme = new AssetsRenderTheme(requireContext().getAssets(), "", THEME_DEFAULT);
theme = map.setTheme(assetsRenderTheme);

until here it's ok.

Now, for test, I edited the default.xml theme, adding the contour lines (found as an answer in a post):

<!-- contour lines -->
<m e="way" k="contour_ext">
    <m v="elevation_minor">
        <m zoom-max="13" zoom-min="13">
            <line stroke="#641616" width="0.4" />
        </m>
    </m>
    <m v="elevation_medium|elevation_major">
        <m zoom-max="13" zoom-min="13">
            <line stroke="#630a0c" width="0.6" />
        </m>
    </m>
</m>

No contour lines drawed...

Where can be the problem? wrong key "contour_ext" ? wrong values "elevation_minor"?

I use mapsforge map V5.

Repository owner locked and limited conversation to collaborators Feb 10, 2023
@devemux86 devemux86 converted this issue into discussion #1014 Feb 10, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant