camera$1 method
- MLNMapCamera camera$2, {
- required MLNCoordinateBounds fittingCoordinateBounds,
- required UIEdgeInsets edgePadding,
Returns the camera that best fits the given coordinate bounds with some additional padding on each side, matching an existing camera as much as possible.
@param camera The camera that the return camera should adhere to. All values on this camera will be manipulated except for pitch and direction. @param bounds The coordinate bounds to fit to the receiver’s viewport. @param insets The minimum padding (in screen points) that would be visible around the returned camera object if it were set as the receiver’s camera. @return A camera object centered on the same location as the coordinate bounds with zoom level as high (close to the ground) as possible while still including the entire coordinate bounds. The initial camera's pitch and direction will be honored.
Note: The behavior of this method is undefined if called in response to
UIApplicationWillTerminateNotification; you may receive anilreturn value depending on the order of notification delivery.
Implementation
MLNMapCamera camera$1(MLNMapCamera camera$2, {required MLNCoordinateBounds fittingCoordinateBounds,required UIEdgeInsets edgePadding}) {
final _ret = _objc_msgSend_1v2rrrs(this.ref.pointer, _sel_camera_fittingCoordinateBounds_edgePadding_, camera$2.ref.pointer, fittingCoordinateBounds, edgePadding);
return MLNMapCamera.castFromPointer(_ret, retain: true, release: true);
}