Skip to end of metadata
Go to start of metadata

Defines the location.

Definition

public class Location

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Location Constructor(double, double) Initializes a new instance of the Location class.

Public Properties

Latitude Gets or sets the latitude.
LocationString Gets the string representation of the location.
Longitude Gets or sets the longitude.

Public Methods

ToString() Returns the string representation of the location.

Public Constructors

public Location(double lat, double lng)

Initializes a new instance of the Location class.

Parameters

lat The latitude.
lng The longitude.

Public Properties

public double Latitude { get; set; }

Gets or sets the latitude.

public string LocationString { get; }

Gets the string representation of the location.

public double Longitude { get; set; }

Gets or sets the longitude.

Public Methods

public string ToString()

Returns the string representation of the location.

  • No labels