fullExtent property

Envelope? fullExtent

The full extent of this layer, which is the extent where all layer data is contained.

You can use this to zoom to all of the data contained in this layer. For feature layers, the extent is retrieved from its FeatureTable.extent.

Implementation

Envelope? get fullExtent {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Layer_getFullExtent(
      _handle,
      errorHandler,
    );
  });
  return Envelope._fromHandle(
    objectHandle,
  );
}