Class: Marker

Marker() → {Marker}

new Marker() → {Marker}

A special graphics type with a tear drop shape. It is currently used to mark the location of a zincObject.
Author:
  • Alan Wu
Source:
Returns:
Type
Marker

Methods

disable()

Disable and hide the marker.
Source:

dispose()

Clean up this object,
Source:

enable()

Enable and visualise the marker.
Source:

setPosition(x, y, z)

Set the position of the marker.
Parameters:
Name Type Description
x Number x coordinate to be set.
y Number y coordinate to be set.
z Number z coordinate to be set.
Source:

setSpriteSize(size)

Set the size of the marker.
Parameters:
Name Type Description
size Number size to be set.
Source:

setVisibility(visible)

Set the visibility of this Geometry.
Parameters:
Name Type Description
visible Boolean a boolean flag indicate the visibility to be set
Source: