delegate property

MLNMapViewDelegate? get delegate

The receiver’s delegate.

A map view sends messages to its delegate to notify it of changes to its contents or the viewpoint. The delegate also provides information about annotations displayed on the map, such as the styles to apply to individual annotations.

Implementation

MLNMapViewDelegate? get delegate {
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_delegate);
  return _ret.address == 0 ? null : MLNMapViewDelegate.castFromPointer(_ret, retain: true, release: true);
}
set delegate (MLNMapViewDelegate? value)

The receiver’s delegate.

A map view sends messages to its delegate to notify it of changes to its contents or the viewpoint. The delegate also provides information about annotations displayed on the map, such as the styles to apply to individual annotations.

Implementation

set delegate(MLNMapViewDelegate? value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setDelegate_, value?.ref.pointer ?? ffi.nullptr);

}