Known Direct Subclasses
Text |
A text element that can be displayed on the map. |
|
Class Overview
An abstract billboard element with a dynamically drawn bitmap that can be displayed on the map.
Summary
[Expand]
Inherited Methods |
From class
com.carto.vectorelements.Billboard
|
From class
com.carto.vectorelements.VectorElement
boolean
|
containsMetaDataKey(String key)
Returns true if the specified key exists in the vector element meta data map.
|
synchronized
void
|
delete()
|
boolean
|
equals(Object obj)
Checks if this object is equal to the specified object.
|
MapBounds
|
getBounds()
Returns the bounds of this vector element.
|
Geometry
|
getGeometry()
Returns the geometry object that defines the location of this vector element.
|
long
|
getId()
Returns the internal id of this vector element.
|
StringVariantMap
|
getMetaData()
Returns a copy of the vector element meta data map.
|
Variant
|
getMetaDataElement(String key)
Returns a meta data element corresponding to the key.
|
int
|
hashCode()
Returns the hash value of this object.
|
boolean
|
isVisible()
Returns the state of the visibility flag of this vector element.
|
void
|
notifyElementChanged()
Notifies this vector element's datasource about the change in this element.
|
void
|
setId(long id)
Sets the internal id for this vector element.
|
void
|
setMetaData(StringVariantMap metaData)
Sets a new meta data map for the vector element.
|
void
|
setMetaDataElement(String key, Variant element)
Adds a new key-value pair to the meta data map.
|
void
|
setVisible(boolean visible)
Sets the state of the visibility flag for this vector element.
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
synchronized
void
delete
()
public
Bitmap
drawBitmap
(float dpToPX)
Draws a custom bitmap for this label that will be used for drawing the label on the map.
The method is called each time the label gets reloaded internally.
Parameters
dpToPX |
The value used for converting display independent pixels (dp) to pixels (px).
|
Returns the style of this label.
Returns
- The style that defines what this label looks like.
public
void
setStyle
(LabelStyle style)
Sets the style for this label.
Parameters
style |
The new style that defines what this marker looks like.
|