ionic-team / ionic-team/capacitor-google-maps
feat(GoogleMaps): expose HTML x and y position
Open
triage
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
## Feature Request
### Plugin
- Google Maps
### Description
Event listener `setOnMapClickListener`, `setOnMarkerClickListener` and `setOnClusterClickListener` should expose `x` and `y` position of click event of HTML element, so we can show custom HTML info windows on top of markers (e.g. `ion-popover`)
### Platform(s)
- ios
- android
### Preferred Solution
JSON for event
```json
{
"latitude":47.649981814357155,
"mapId":"map",
"longitude":9.175698906183243,
"x": 180,
"y": 457
}
```
### Alternatives
Not possible at the moment
Contributor guide
Assessment
This issue has not been assessed yet.