preferredSearchLocation property

ArcGISPoint? preferredSearchLocation

Preferred search location.

Point specifying the preferred location where candidates will be searched.

Implementation

ArcGISPoint? get preferredSearchLocation {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_SuggestParameters_getPreferredSearchLocation(
      _handle,
      errorHandler,
    );
  });
  return ArcGISPoint._fromHandle(
    objectHandle,
  );
}
void preferredSearchLocation=(ArcGISPoint? value)

Implementation

set preferredSearchLocation(ArcGISPoint? value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SuggestParameters_setPreferredSearchLocation(
      _handle,
      value?._handle ?? ffi.nullptr,
      errorHandler,
    );
  });
}