Skip to content

Conversation

@mohammadrafigh
Copy link

Fixes #22

This change allows to set multiple click listeners on iOS. I know there is a workaround by using onMapEvent function and click as event name to set multiple listeners for a specific layer, but it's not a solution if a user wants to listen to multiple layers on the same callback. So the user may want to implement his own click logic. I should mention that for some reason current implementation of setOnMapClickListener does not even work with 1 click listener on iOS, but this change will fix it too. I'm not sure if this should be done on Android too, so please let me know if it's the case.

keerl added a commit that referenced this pull request Jan 9, 2022
@keerl
Copy link
Contributor

keerl commented Jan 9, 2022

I spent some time updating the plugin to the NS community plugin format and added this PR manually. The changes were specifically added in this commit:

970aece

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setOnMapClickListener is not working on iOS

2 participants