public class

MarkerStyle

extends BillboardStyle
java.lang.Object
   ↳ com.carto.styles.Style
     ↳ com.carto.styles.BillboardStyle
       ↳ com.carto.styles.MarkerStyle

Class Overview

A style for markers. Contains attributes for configuring how the marker is drawn on the screen.

Summary

Public Methods
synchronized void delete()
float getAnchorPointX()
Returns the horizontal anchor point of the marker.
float getAnchorPointY()
Returns the vertical anchor point of the marker.
Bitmap getBitmap()
Returns the bitmap of the marker.
float getClickSize()
Returns the click size of the marker.
BillboardOrientation getOrientationMode()
Returns the orientation mode of the marker.
BillboardScaling getScalingMode()
Returns the scaling mode of the marker.
float getSize()
Returns the size of the marker.
[Expand]
Inherited Methods
From class com.carto.styles.BillboardStyle
From class com.carto.styles.Style
From class java.lang.Object

Public Methods

public synchronized void delete ()

public float getAnchorPointX ()

Returns the horizontal anchor point of the marker.

Returns
  • The horizontal anchor point of the marker.

public float getAnchorPointY ()

Returns the vertical anchor point of the marker.

Returns
  • The vertical anchor point of the marker.

public Bitmap getBitmap ()

Returns the bitmap of the marker.

Returns
  • The bitmap of the marker.

public float getClickSize ()

Returns the click size of the marker.

Returns
  • The click size of the marker, units depend on the scaling mode. If -1, then marker size is used.

public BillboardOrientation getOrientationMode ()

Returns the orientation mode of the marker.

Returns
  • The orientation mode of the marker.

public BillboardScaling getScalingMode ()

Returns the scaling mode of the marker.

Returns
  • The scaling mode of the marker.

public float getSize ()

Returns the size of the marker.

Returns
  • The size of the marker, units depend on the scaling mode.