Class Area

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll

The class representing a geographical area.

C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13")] public class Area : IDisposable
Inheritance
object
Area
Implements
System.IDisposable

Constructors

View Source

Area(Geocoordinates, double)

Constructs a circular area.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Might be removed in API12.")] public Area(Geocoordinates center, double radius)
Parameters
Type Name Description
Geocoordinates center

Coordinates for center of the area.

double radius

Radius of the area.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the required feature is not supported.

System.ArgumentException

Thrown when input coordinates are invalid.

System.InvalidOperationException

Thrown when a native operation fails to allocate memory.

View Source

Area(Geocoordinates, Geocoordinates)

Constructs a rectangular area.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Might be removed in API12.")] public Area(Geocoordinates topLeft, Geocoordinates bottomRight)
Parameters
Type Name Description
Geocoordinates topLeft

Top-left coordinates of the area.

Geocoordinates bottomRight

Bottom-left coordinates of the area.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the required feature is not supported.

System.ArgumentException

Thrown when input coordinates are invalid.

System.InvalidOperationException

Thrown when a native operation fails to allocate memory.

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
[Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose()
View Source

Dispose(bool)

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

Declaration
C#
Copy
[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.

View Source

~Area()

Destroy the Area object.

Declaration
C#
Copy
protected ~Area()

Implements

System.IDisposable