編輯

共用方式為


CLLocationCoordinate2D.IsValid Method

Definition

Whether the coordinate is valid.

public bool IsValid ();
member this.IsValid : unit -> bool

Returns

Remarks

This method will return false if the latitude is greater than 90 or less than -90. It will also return false if longitude is greater than 180 or less than -180.

Applies to