編輯

共用方式為


CLLocationCoordinate2D Struct

Definition

Geographical coordinates.

public struct CLLocationCoordinate2D
type CLLocationCoordinate2D = struct
Inheritance
CLLocationCoordinate2D

Remarks

The geographical coordinates use the WGS 84 reference frame.

Constructors

CLLocationCoordinate2D(Double, Double)

Constructor that allows the latitude and longitude to be specified.

Fields

Latitude

Latitude in degrees. Positive values are north of the equator, negative values are south of the equator.

Longitude

Longitude in degrees.

Methods

IsValid()

Whether the coordinate is valid.

ToString()

Applies to