initWithMapView method

MLNMapProjection initWithMapView(
  1. MLNMapView mapView
)

Initializes and returns the new projection object with the current camera state from the provided map view.

@param mapView The map view the camera state to use for the initialization. @return An initialized map projection.

Implementation

MLNMapProjection initWithMapView(MLNMapView mapView) {
  final _ret = _objc_msgSend_1sotr3r(this.ref.retainAndReturnPointer(), _sel_initWithMapView_, mapView.ref.pointer);
  return MLNMapProjection.castFromPointer(_ret, retain: false, release: true);
}