preferredSearchLocation property

ArcGISPoint? preferredSearchLocation

Preferred search location.

Distance specifying with location the preferred area where candidates will be searched. Supported value from interval [1000..50000], 50000 by default.

Implementation

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

Implementation

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