Skip to content
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

Text rendering in image-based engine #1799

Closed
xmd5a2 opened this issue Oct 12, 2015 · 1 comment
Closed

Text rendering in image-based engine #1799

xmd5a2 opened this issue Oct 12, 2015 · 1 comment
Assignees

Comments

@xmd5a2
Copy link
Contributor

xmd5a2 commented Oct 12, 2015

For example we have a point:

office=telecommunication
shop=mobile_phone
name=Mobile phone+telecommunication

rendering_types.xml :

        <type tag="shop" value="mobile_phone" minzoom="16" />
        <type tag="office" value="telecommunication" minzoom="15" />

Style should render only mobile phone. It does not support office=telecommunication. In this case OsmAnd renders mobile_phone icon but not text.
inspector output:

Point types [office-telecommunication (1230), shop-mobile_phone (1110)] Names [name(1) - Mobile phone+telecommunication] id -18857

If I change "order" in rendering_types and shop=mobile_phone becomes first in inspector output line (Point types [shop-mobile_phone (1110), office-telecommunication (1230)].) then text renders correctly.

@vshcherb
Copy link
Member

Discussed, works exactly as designed, if there are other suggestions, please feel free to comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants