Class Pin

Definition

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

Pin type the marker map object.

C#
Copy
public class Pin : Marker, IDisposable
Inheritance
System.Object
Pin
Implements
System.IDisposable

Constructors

View Source

Pin(Geocoordinates)

Creates a pin type marker.

Declaration
C#
Copy
public Pin(Geocoordinates coordinates)
Parameters
Type Name Description
Geocoordinates coordinates

Marker coordinates.

Exceptions
Type Condition
System.ArgumentException

Thrown when input coordinates are invalid.

API Level: 3
View Source

Pin(Geocoordinates, String)

Creates a pin type marker.

Declaration
C#
Copy
public Pin(Geocoordinates coordinates, string imagePath)
Parameters
Type Name Description
Geocoordinates coordinates

Marker coordinates.

System.String imagePath

Image file path for the Marker.

Remarks

http://tizen.org/privilege/mediastorage is needed if the file path is relevant to media storage. http://tizen.org/privilege/externalstorage is needed if the file path is relevant to external storage.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the required feature is not supported.

UnauthorizedAccessException

Thrown when application does not have some privilege to access this method.

System.ArgumentException

Thrown when the input coordinates or imagePath is invalid.

API Level: 3

Implements

System.IDisposable