Package com.massifmaps.styles
Class MarkerStyle
java.lang.Object
com.massifmaps.styles.Style
com.massifmaps.styles.BillboardStyle
com.massifmaps.styles.MarkerStyle
A style for markers. Contains attributes for configuring how the marker is drawn on the screen.
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the horizontal anchor point of the marker.floatReturns the vertical anchor point of the marker.Returns the bitmap of the marker.floatReturns the click size of the marker.intReturns the orientation mode of the marker.intReturns the scaling mode of the marker.floatgetSize()Returns the size of the marker.Methods inherited from class com.massifmaps.styles.BillboardStyle
getAnimationStyle, getAttachAnchorPointX, getAttachAnchorPointY, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI
-
Method Details
-
getAnchorPointX
public float getAnchorPointX()Returns the horizontal anchor point of the marker.- Returns:
- The horizontal anchor point of the marker.
-
getAnchorPointY
public float getAnchorPointY()Returns the vertical anchor point of the marker.- Returns:
- The vertical anchor point of the marker.
-
getBitmap
Returns the bitmap of the marker.- Returns:
- The bitmap of the marker.
-
getOrientationMode
public int getOrientationMode()Returns the orientation mode of the marker.- Returns:
- The orientation mode of the marker.
-
getScalingMode
public int getScalingMode()Returns the scaling mode of the marker.- Returns:
- The scaling mode of the marker.
-
getClickSize
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.
-
getSize
public float getSize()Returns the size of the marker.- Returns:
- The size of the marker, units depend on the scaling mode.
-