-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
Feature Request
Plugin
capacitor-google-maps
Description
Currently, the only way to show a marker's info window (title/snippet) is through user interaction (tap). I would like to request the ability to programmatically select a marker or trigger its "click" event, so that the marker's info window appears without requiring the user to tap it.
Platform(s)
Android, iOS
Preferred Solution
await map.selectMarker({
markerId: 'marker-id-123'
});
Alternatives
await map.triggerMarkerClick({
markerId: 'marker-id-123'
});
Additional Context
In my app, I display a list of locations and show them as markers on the map. I want to automatically highlight (or open the info window for) a specific marker based on logic like user's location, search results, or initial load — just like how Google Maps allows programmatically showing a marker popup.