Class Geocoordinates
Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
A class representing geographical coordinates.
public class Geocoordinates : IDisposable
- Inheritance
-
Geocoordinates
- Implements
Constructors
View SourceGeocoordinates(Double, Double)
Constructs the map coordinates object.
Declaration
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 |
---|---|
ArgumentException | Thrown when values for latitude and longitude are not valid. |
InvalidOperationException | Thrown when a native operation fails to allocate memory. |
API Level: 3
Properties
View SourceLatitude
Gets the latitude coordinates.
Declaration
public double Latitude { get; }
Property Value
Type | Description |
---|---|
Double |
API Level: 3
View SourceLongitude
Gets the longitude coordinates.
Declaration
public double Longitude { get; }
Property Value
Type | Description |
---|---|
Double |
API Level: 3
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
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 SourceFinalize()
Destroy the Geocoordinates object.
Declaration
protected void Finalize()
ToString()
Returns a string that represents this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | Returns a string that represents this object. |