Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

SymbolLayer Properties textFont #1408

Open
passmanagerapp opened this issue Jun 16, 2021 · 0 comments
Open

SymbolLayer Properties textFont #1408

passmanagerapp opened this issue Jun 16, 2021 · 0 comments

Comments

@passmanagerapp
Copy link

passmanagerapp commented Jun 16, 2021

I want to specify the textFont. I am able to use Ubuntu Bold for example, but when I want to use Muli Bold, it doesn't work.

       `val count = SymbolLayer(COUNT_LAYER, SOURCE_ID)

        count.setProperties(
        textField(toString(get(PROPERTY_MANUAL_CLUSTER))),
        textSize(11f),
        textFont(arrayOf("Muli Bold")),
        textOffset(arrayOf(4.45f, 3.80f)),
        textColor(Color.rgb(55,124,246)),
        textIgnorePlacement(true),
        textAllowOverlap(true))`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant