googlemaps-samples / googlemaps-samples/maps-sdk-for-ios-samples

The custom marker InfoWindow add button cannot be clicked

Open
#217 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage me type: feature request
Dominant language
Objective-C
Stars
353
Forks
201
PR merge metrics
No merged PRs in 30d

Description

- (nullable UIView *)mapView:(GMSMapView *)mapView markerInfoWindow:(GMSMarker *)marker

Using this method to add two buttons in a custom view, you cannot click on this custom view. Only the didTapInfoWindowOfMarker proxy method can be triggered anywhere. What I need now is to click on the two buttons in the view and trigger their respective methods

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the GMSMapViewDelegate markerInfoWindow:marker method described in the issue and review how the custom view containing the two buttons is created. Reproduce the interaction with the sample app and verify that each button receives its own action instead of only triggering didTapInfoWindowOfMarker; completion requires a documented fix or confirmed SDK limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.