routeLocation property

ArcGISPoint? routeLocation

The nearest street location for the result.

Use this location if you want to use the candidate as a stop in a route. For example, GeocodeResult.displayLocation may provide a more precise rooftop location of a house, whereas GeocodeResult.routeLocation will provide the nearest street location.

Implementation

ArcGISPoint? get routeLocation {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeocodeResult_getRouteLocation(
        _handle, errorHandler);
  });
  return ArcGISPoint._fromHandle(objectHandle);
}