cameraEdgeInsets property

UIEdgeInsets get cameraEdgeInsets

The current edge insets of the current map view’s camera.

Camera edge insets are formed as accumulation of map view's content insets and the edge padding passed to the method like seCamera:...edgePadding:, setVisibleCoordinates:...edgePadding:, showAnnotations:...edgePadding: etc.

The camera edge insets influences the centerCoordinate of the viewport. This value is read-only, in order to apply paddings, use either persistent contentInset, either transient edgePadding parameter of the set... methods.

Implementation

UIEdgeInsets get cameraEdgeInsets {
  final _ptr = pkg_ffi.calloc<UIEdgeInsets>();
  objc.useMsgSendVariants ? _objc_msgSend_ct4cu5Stret(_ptr, this.ref.pointer, _sel_cameraEdgeInsets) : _ptr.ref = _objc_msgSend_ct4cu5(this.ref.pointer, _sel_cameraEdgeInsets);
  final _finalizable = _ptr.cast<ffi.Uint8>().asTypedList(
      ffi.sizeOf<UIEdgeInsets>(), finalizer: pkg_ffi.calloc.nativeFree);
  return ffi.Struct.create<UIEdgeInsets>(_finalizable);

}