Class Marker
Definition
- Assembly:
- Tizen.Maps.dll
The marker map object.
public class Marker : MapObject, IDisposable
- Inheritance
- Derived
- Implements
-
System.IDisposable
Properties
View SourceCoordinates
Gets or sets the geographical coordinates for this marker.
Declaration
public Geocoordinates Coordinates { get; set; }
Property Value
Type | Description |
---|---|
Geocoordinates |
ImagePath
Gets or sets a string representing the image file path for this marker.
Declaration
public string ImagePath { get; set; }
Property Value
Type | Description |
---|---|
string |
IsVisible
Gets or sets the marker's visibility.
Declaration
public override bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Overrides
View SourceMarkerSize
Gets or sets the screen size for this marker.
Declaration
public Size MarkerSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
ZOrder
Gets or sets the z-order for this marker.
Declaration
public int ZOrder { get; set; }
Property Value
Type | Description |
---|---|
int | The integer value is 0 by default, and must be in the range of -100 to 100. |
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
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. |
~Marker()
Destroy the Marker object.
Declaration
protected ~Marker()
Move(Geocoordinates)
Changes the marker coordinates.
Declaration
public void Move(Geocoordinates newPosition)
Parameters
Type | Name | Description |
---|---|---|
Geocoordinates | newPosition | New position for the marker. |
Resize(Size)
Changes the marker size.
Declaration
public void Resize(Size newSize)
Parameters
Type | Name | Description |
---|---|---|
Size | newSize | New size. |
Events
View SourceClicked
Gets or sets the clicked event handlers.
Declaration
public event EventHandler Clicked
Event Type
Type | Description |
---|---|
System.EventHandler |