Class Pin
Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
Pin type the marker map object.
C#Copypublic class Pin : Marker, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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