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

capacitor/google-maps: Variable to disable mobile popup when user click on marker

Open
#119 4 comments 2 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
To allow the removal of the popup that appears when the user clicks on a marker in the Android platform (I haven't tested iOS yet, so I don't know if it's the same there) through a map option.

### Platform(s)
Android
iOS (?)

### Preferred Solution
A boolean variable, for example called "disableMarkerPopup" that should be passed to Googlemap.create

```
this.map = await GoogleMap.create({
id: 'map',
element: mapRef, // reference to the capacitor-google-map element
apiKey: process.env.GOOGLE_MAPS_API_KEY, // Your Google Maps API Key
....
**disableMarkerPopup: true**
.....
config: {
.....
},
});

```

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.