Skip to content

Add a marker label #141

@harisbal

Description

@harisbal

Hello,
I cannot figure out how to add a label on my marker as here
Is this possible?

I tried adding an icon property but with no results

icon = {
        'path': 'M 0,0 C -2,-20 -10,-22 -10,-30 A 10,10 0 1,1 10,-30 C 10,-22 2,-20 0,0 z M -2,-30 a 2,2 0 1,1 4,0 2,2 0 1,1 -4,0',
        'title': 'Mytitle,
        'fillColor': '#000',
        'strokeColor': '#000',
        'strokeWeight': 1,
        'scale': 1,
        'label': 'Mylabel',
        'labelOrigin': {'x': 10, 'y': 10}
}

ANy help would be much appreciated. Thank you for this great extension :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions