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

onMapClickListener doesn't fire on IOS #116

Open
nove1398 opened this issue Feb 7, 2025 · 4 comments
Open

onMapClickListener doesn't fire on IOS #116

nove1398 opened this issue Feb 7, 2025 · 4 comments

Comments

@nove1398
Copy link

nove1398 commented Feb 7, 2025

What?
The mapView.onMapClickListener(...) does not fire on iOS however the same code works on Android.
version: "@nativescript-community/ui-mapbox": "^6.2.31"

      await this.mapboxView?.setOnMapClickListener((position: LatLng) =>
        callback(position)
      );

await callback(position:LatLng) {
console.log('click');
reutrn true;
}
@farfromrefug
Copy link
Member

@nove1398 maybe related to this #102 ? i dont really use that component anymore

@nove1398
Copy link
Author

nove1398 commented Feb 7, 2025

I think it might be actually. This library is no longer maintained you mean?

@farfromrefug
Copy link
Member

@nove1398 well not by me yes. Someone would need to take it over.
It is working though as many people are using it

@nove1398
Copy link
Author

nove1398 commented Feb 8, 2025

@farfromrefug understood. Other than that particular function i don't see any other issues as of now. I did find a PR that was suppose to address that issue i am having but no one approved it.

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

No branches or pull requests

2 participants