Class Pin
Definition
- Assembly:
- Tizen.Maps.dll
Pin type the marker map object.
public class Pin : Marker, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourcePin(Geocoordinates, string)
Creates a pin type marker.
Declaration
public Pin(Geocoordinates coordinates, string imagePath)
Parameters
Type | Name | Description |
---|---|---|
Geocoordinates | coordinates | Marker coordinates. |
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. |
System.UnauthorizedAccessException | Thrown when application does not have some privilege to access this method. |
System.ArgumentException | Thrown when the input coordinates or imagePath is invalid. |
Pin(Geocoordinates)
Creates a pin type marker.
Declaration
public Pin(Geocoordinates coordinates)
Parameters
Type | Name | Description |
---|---|---|
Geocoordinates | coordinates | Marker coordinates. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when input coordinates are invalid. |
Implements
System.IDisposable