pickMapFeatureAt method

  1. @override
void pickMapFeatureAt(
  1. Point<double> point
)
override

@brief Selects visible map features (e.g., venues) at the specified screen position. @param point Position in screen pixels to pick from. Results are delivered to the PickListener via onMapFeaturePickComplete @see PickListener "PickListener".

Dart code snippet: @snippet location_window_interaction_example.dart dart_LocationWindow_pickMapFeatureAt

Implementation

@override
void pickMapFeatureAt(math.Point<double> point) {
    final _pickMapFeatureAtFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Void Function(Pointer<Void>, Pointer<Void>),
        void Function(Pointer<Void>, Pointer<Void>)
      >('navigine_sdk_flutter_LocationWindow_pickMapFeatureAt__Point'));
    final _pointHandle = navigine_sdk_flutter_math_Point_double_ToFfi(point);
    final _handle = this.handle;
    _pickMapFeatureAtFfi(_handle, _pointHandle);
    navigine_sdk_flutter_math_Point_double_ReleaseFfiHandle(_pointHandle);
}