Class Geocoordinates
Definition
- Assembly:
- Tizen.Maps.dll
A class representing geographical coordinates.
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public class Geocoordinates : IDisposable
- Inheritance
-
objectGeocoordinates
- Implements
-
System.IDisposable
Constructors
View SourceGeocoordinates(double, double)
Constructs the map coordinates object.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public Geocoordinates(double latitude, double longitude)
Parameters
Type | Name | Description |
---|---|---|
double | latitude | Latitude value must be between (-90.0 ~ 90.0) degrees. |
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. |
Properties
View SourceLatitude
Gets the latitude coordinates.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public double Latitude { get; }
Property Value
Type | Description |
---|---|
double |
Longitude
Gets the longitude coordinates.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public double Longitude { get; }
Property Value
Type | Description |
---|---|
double |
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public void Dispose()
Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. |
~Geocoordinates()
Destroy the Geocoordinates object.
Declaration
protected ~Geocoordinates()
ToString()
Returns a string that represents this object.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public override string ToString()
Returns
Type | Description |
---|---|
string | Returns a string that represents this object. |