Condividi tramite


Location.Latitude Property

Definition

Get the latitude in degrees. -or- Set the latitude of this location.

public virtual double Latitude { [Android.Runtime.Register("getLatitude", "()D", "GetGetLatitudeHandler")] get; [Android.Runtime.Register("setLatitude", "(D)V", "GetSetLatitude_DHandler")] set; }
[<get: Android.Runtime.Register("getLatitude", "()D", "GetGetLatitudeHandler")>]
[<set: Android.Runtime.Register("setLatitude", "(D)V", "GetSetLatitude_DHandler")>]
member this.Latitude : double with get, set

Property Value

latitude of this location

Attributes

Remarks

Property getter documentation:

Get the latitude in degrees. All locations generated by the LocationManager will have a valid latitude.

Java documentation for android.location.Location.getLatitude().

Property setter documentation:

Set the latitude of this location.

Java documentation for android.location.Location.setLatitude(double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to