Class Marker

Definition

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

The marker map object.

C#
Copy
public class Marker : MapObject, IDisposable
Inheritance
object
Marker
Derived
Implements
System.IDisposable

Properties

View Source

Coordinates

Gets or sets the geographical coordinates for this marker.

Declaration
C#
Copy
public Geocoordinates Coordinates { get; set; }
Property Value
Type Description
Geocoordinates
View Source

ImagePath

Gets or sets a string representing the image file path for this marker.

Declaration
C#
Copy
public string ImagePath { get; set; }
Property Value
Type Description
string
View Source

IsVisible

Gets or sets the marker's visibility.

Declaration
C#
Copy
public override bool IsVisible { get; set; }
Property Value
Type Description
bool
Overrides
View Source

MarkerSize

Gets or sets the screen size for this marker.

Declaration
C#
Copy
public Size MarkerSize { get; set; }
Property Value
Type Description
Size
View Source

ZOrder

Gets or sets the z-order for this marker.

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

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

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

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

~Marker()

Destroy the Marker object.

Declaration
C#
Copy
protected ~Marker()
View Source

Move(Geocoordinates)

Changes the marker coordinates.

Declaration
C#
Copy
public void Move(Geocoordinates newPosition)
Parameters
Type Name Description
Geocoordinates newPosition

New position for the marker.

View Source

Resize(Size)

Changes the marker size.

Declaration
C#
Copy
public void Resize(Size newSize)
Parameters
Type Name Description
Size newSize

New size.

Events

View Source

Clicked

Gets or sets the clicked event handlers.

Declaration
C#
Copy
public event EventHandler Clicked
Event Type
Type Description
System.EventHandler

Implements

System.IDisposable