setVisibleCoordinateBounds$2 method
- MLNCoordinateBounds bounds, {
- required UIEdgeInsets edgePadding,
- required bool animated,
- ObjCBlock<
Void Function()> ? completionHandler,
Changes the receiver’s viewport to fit the given coordinate bounds with some additional padding on each side, optionally calling a completion handler.
To bring both sides of the antimeridian or international date line into view, specify some longitudes less than −180 degrees or greater than 180 degrees. For example, to show both Tokyo and San Francisco simultaneously, you could set the visible bounds to extend from (35.68476, −220.24257) to (37.78428, −122.41310).
@param bounds The bounds that the viewport will show in its entirety.
@param insets The minimum padding (in screen points) that will be visible
around the given coordinate bounds.
@param animated Specify YES to animate the change by smoothly scrolling and
zooming or NO to immediately display the given bounds.
@param completion The block executed after the animation finishes.
Implementation
void setVisibleCoordinateBounds$2(MLNCoordinateBounds bounds, {required UIEdgeInsets edgePadding,required bool animated,objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_1v6m6tt(this.ref.pointer, _sel_setVisibleCoordinateBounds_edgePadding_animated_completionHandler_, bounds, edgePadding, animated, completionHandler?.ref.pointer ?? ffi.nullptr);
}