Skip to content

onMapClickListener doesn't fire on IOS #116

Description

@nove1398

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;
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions