ui-mapbox icon indicating copy to clipboard operation
ui-mapbox copied to clipboard

onMapClickListener doesn't fire on IOS

Open nove1398 opened this issue 9 months ago • 4 comments
trafficstars

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

nove1398 avatar Feb 07 '25 04:02 nove1398