ionic-team / ionic-team/capacitor-google-maps

[capacitor/google-maps]: allow to set text inside the marker.

Open
#110 2 comments 4 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
32
Forks
47
PR merge metrics
No merged PRs in 30d

Description

## Feature Request

### Plugin
capacitor/google-maps

### Description
Allow more customizations for markers on the google-map plugin. Allowing to set the text inside the marker would be useful for displaying information on the map.

### Platform(s)
ios/web/android

### Preferred Solution
use the label attribute like on the map class from google maps original API or in the javascript integration of google maps.

```
{
id: marker.id,
position: {
lat: marker.latitude,
lng: marker.longitude,
},
label: {
fontFamily: 'Manrope',
fontSize: '14px',
fontWeight: '600',
color: 'white',
className: 'marker-label',
text: marker.text
},
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.