googlemaps-samples / googlemaps-samples/maps-sdk-for-ios-samples
The custom marker InfoWindow add button cannot be clicked
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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