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

SymbolLayer Properties textFont #1408

@passmanagerapp

Description

@passmanagerapp

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))`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions