showAnnotations$2 method
void
showAnnotations$2(
- NSArray annotations, {
- required UIEdgeInsets edgePadding,
- required bool animated,
- ObjCBlock<
Void Function()> ? completionHandler,
Sets the visible region so that the map displays the specified annotations with the specified amount of padding on each side and an optional completion handler.
Calling this method updates the value in the visibleCoordinateBounds property
and potentially other properties to reflect the new map region.
@param annotations The annotations that you want to be visible in the map.
@param insets The minimum padding (in screen points) around the edges of the
map view to keep clear of annotations.
@param animated YES if you want the map region change to be animated, or NO
if you want the map to display the new region immediately without animations.
@param completion The block executed after the animation finishes.
Implementation
void showAnnotations$2(objc.NSArray annotations, {required UIEdgeInsets edgePadding,required bool animated,objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_16lja1o(this.ref.pointer, _sel_showAnnotations_edgePadding_animated_completionHandler_, annotations.ref.pointer, edgePadding, animated, completionHandler?.ref.pointer ?? ffi.nullptr);
}