MonobjcMonobjc Documented Class Library
CLLocation Constructor (latitude, longitude)
NamespacesMonobjc.CoreLocationCLLocationCLLocation(Double, Double)

Initializes and returns a location object with the specified latitude and longitude.

Original signature is '- (id)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public CLLocation(
	double latitude,
	double longitude
)
Public Sub New ( _
	latitude As Double, _
	longitude As Double _
)
public:
CLLocation(
	double latitude, 
	double longitude
)
Parameters
latitude (Double)
The latitude of the coordinate point.
longitude (Double)
The longitude of the coordinate point.
Return Value
A location object initialized with the specified coordinate point.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.CoreLocation (Module: Monobjc.CoreLocation)