Skip to content

onMapClickListener doesn't fire on IOS #116

@nove1398

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

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