googlemaps / googlemaps/flutter-navigation-sdk

[Feature request]: Ability to Show Marker Info Window Without User Interaction

Open
#311 0 comments 0 reactions 1 assignee Claimed by @illuminati1911 View on GitHub
triage me type: feature request
Dominant language
Dart
Stars
75
Forks
54
Avg merge
4d 2h
Merged PRs (30d)
5

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Use case

Currently, in GoogleMapsNavigationView, there is no method to programmatically show a marker's info window without user interaction. In the google_maps_flutter package, we have showMarkerInfoWindow(markerId), which allows developers to display the info window automatically. However, this functionality is missing in GoogleMapsNavigationView.

This feature is useful when we need to highlight specific locations on the map automatically, such as:

Showing the user’s current location details upon navigation start.
Highlighting a destination marker when navigation begins.
Displaying additional information about a specific marker without requiring user interaction.
show time or distance needed to arrive to a specific location

### Proposal

Add a method similar to showMarkerInfoWindow(markerId), which allows us to programmatically display the info window for a specific marker:
`googleMapController.showMarkerInfoWindow(markerId);
`
Additionally, an option to hide the info window (hideMarkerInfoWindow(markerId)) would also be helpful.

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.