geometry property

Polygon geometry

Service area polygon's geometry.

The geometry for the polygon in case if ServiceAreaParameters.returnPolygons is true.

Implementation

Polygon get geometry {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ServiceAreaPolygon_getGeometry(
      _handle,
      errorHandler,
    );
  });
  return Polygon._fromHandle(
    objectHandle,
  )!;
}