public class ScreenMarker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
color
Background color for a marker can be overridden at this level.
|
android.graphics.Bitmap |
image
If set, this is the image we'll use for this marker.
|
MaplyTexture[] |
images
If set we'll animate these images one after the other over the duration.
|
float |
layoutImportance
This is the importance value passed to the layout engine.
|
Point2d |
layoutSize
If set, this is the size of the object as seen by the layout engine.
|
Point2d |
loc
The location in geographic (WGS84) radians.
|
Point2d |
offset
If non-null an offset to tweak the label by.
|
double |
period
If images are passed in, this is the time it will take to cycle through them all.
|
double |
rotation
If non-zero we'll rotate the label that number of radians around the attachment
point.
|
boolean |
selectable
Turn this on if you want the marker object to be selectable.
|
Point2d |
size
Size of the marker on screen.
|
MaplyTexture |
tex
If set, we'll use this texture which has already been converted to Maply format.
|
java.lang.Object |
userObject
For selection, we include a user accessible object pointer.
|
java.util.ArrayList<VertexAttribute> |
vertexAttributes
If set, these are vertex attributes to be applied to be consolidated and passed
to a custom shader.
|
Constructor and Description |
---|
ScreenMarker() |
public Point2d loc
public Point2d size
public double rotation
public android.graphics.Bitmap image
public MaplyTexture tex
public MaplyTexture[] images
public double period
public int color
public float layoutImportance
public Point2d layoutSize
public Point2d offset
public boolean selectable
public java.lang.Object userObject
public java.util.ArrayList<VertexAttribute> vertexAttributes