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

Add a marker label #141

Open
harisbal opened this issue Dec 21, 2020 · 0 comments
Open

Add a marker label #141

harisbal opened this issue Dec 21, 2020 · 0 comments
Labels

Comments

@harisbal
Copy link

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

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

No branches or pull requests

1 participant