Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customization of return type when using markerClickEvents() and myLocationButtonClickEvents() #163

Open
arriolac opened this issue Sep 16, 2021 · 2 comments
Assignees
Labels
stale triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@arriolac
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, using the markerClickEvents() and myLocationButtonClickEvents() APIs cannot customize the behavior when a marker or when the blue dot is tapped. That is, the default behavior of centering the map on the marker/blue dot (and additionally displaying an info window for a marker) will always occur.

Describe the solution you'd like
Customization of this behavior should be achievable by passing in an optional lambda to one of those methods.

For example:

googleMap.markerClickEvents { marker ->
    // Override default behavior
    return false
}.collect {
    // ...
}

Describe alternatives you've considered
Do nothing.

Additional context
See #162 (comment)

@arriolac arriolac added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. triage me I really want to be triaged. labels Sep 16, 2021
@arriolac arriolac self-assigned this Sep 16, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Apr 16, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant