areaOfInterest property

Geometry? areaOfInterest

Area of interest geometry. May be set to null to specify retrieval of the full vector tiles extent.

The supported geometry types for the area of interest are Envelope and Polygon. The area of interest must have a spatial reference. Where a Polygon is supplied, tiles will be filtered according to the polygon geometry, which can help reduce the size of the resulting tile package. Note that the filtered set of tiles may vary, depending on the underlying service.

Implementation

Geometry? get areaOfInterest {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ExportVectorTilesParameters_getAreaOfInterest(
      _handle,
      errorHandler,
    );
  });
  return Geometry._fromHandle(
    objectHandle,
  );
}
void areaOfInterest=(Geometry? value)

Implementation

set areaOfInterest(Geometry? value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ExportVectorTilesParameters_setAreaOfInterest(
      _handle,
      value?._handle ?? ffi.nullptr,
      errorHandler,
    );
  });
}