setTargetCoordinate method
Deprecated. Sets the geographic coordinate that is the subject of observation as the user location is being tracked, with an optional transition animation.
By default, the target coordinate is set to an invalid coordinate, indicating that there is no target. In course tracking mode, the target forms one of two foci in the viewport, the other being the user location annotation. Typically, the target is set to a destination or waypoint in a real-time navigation scene. As the user annotation moves toward the target, the map automatically zooms in to fit both foci optimally within the viewport.
This method has no effect if the userTrackingMode property is set to a value
other than MLNUserTrackingMode/MLNUserTrackingModeFollowWithCourse.
To specify a completion handler to execute after the animation finishes, use
the -setTargetCoordinate:animated:completionHandler: method.
@param targetCoordinate The target coordinate to fit within the viewport.
@param animated If YES, the map animates to fit the target within the map
view. If NO, the map fits the target instantaneously.
Implementation
void setTargetCoordinate(CLLocationCoordinate2D targetCoordinate$1, {required bool animated}) {
_objc_msgSend_o7hjv2(this.ref.pointer, _sel_setTargetCoordinate_animated_, targetCoordinate$1, animated);
}