setCamera method

void setCamera(
  1. MLNMapCamera camera$1, {
  2. required UIEdgeInsets withEdgeInsets,
})

Change the projection state with camera and padding values.

@param camera The new camera to be used in the projection calculation. @param insets The insets applied on top of the camera be used in the projection calculation.

Note: MLNMapView instance frame must not be changed since this projection is initialized, otherwise the calculation may be wrong.

Implementation

void setCamera(MLNMapCamera camera$1, {required UIEdgeInsets withEdgeInsets}) {
_objc_msgSend_1c0ferf(this.ref.pointer, _sel_setCamera_withEdgeInsets_, camera$1.ref.pointer, withEdgeInsets);

}