Class Geocoordinates

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll
API Level:
3

A class representing geographical coordinates.

C#
Copy
public class Geocoordinates : IDisposable
Inheritance
System.Object
Geocoordinates
Implements
System.IDisposable

Constructors

View Source

Geocoordinates(Double, Double)

Constructs the map coordinates object.

Declaration
C#
Copy
public Geocoordinates(double latitude, double longitude)
Parameters
Type Name Description
System.Double latitude

Latitude value must be between (-90.0 ~ 90.0) degrees.

System.Double longitude

Longitude value must be between (-180.0 ~ 180.0) degrees.

Exceptions
Type Condition
System.ArgumentException

Thrown when values for latitude and longitude are not valid.

System.InvalidOperationException

Thrown when a native operation fails to allocate memory.

API Level: 3

Properties

View Source

Latitude

Gets the latitude coordinates.

Declaration
C#
Copy
public double Latitude { get; }
Property Value
Type Description
System.Double
API Level: 3
View Source

Longitude

Gets the longitude coordinates.

Declaration
C#
Copy
public double Longitude { get; }
Property Value
Type Description
System.Double
API Level: 3

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.

API Level: 3
View Source

Finalize()

Destroy the Geocoordinates object.

Declaration
C#
Copy
protected void Finalize()
View Source

ToString()

Returns a string that represents this object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
System.String

Returns a string that represents this object.

Overrides
System.Object.ToString()
API Level: 3

Implements

System.IDisposable