flask-extensions / flask-extensions/Flask-GoogleMaps

Add a marker label

Open
#141 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
655
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Hello,
I cannot figure out how to add a label on my marker as [here](https://developers.google.com/maps/documentation/javascript/examples/marker-labels)
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 :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.