java.lang.Object | |||
↳ | com.carto.vectorelements.VectorElement | ||
↳ | com.carto.vectorelements.Billboard | ||
↳ | com.carto.vectorelements.Marker |
A billboard element with a static bitmap that can be displayed on the map.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Marker(Billboard baseBillboard, MarkerStyle style)
Constructs a Marker object with the specified style and attaches it to a billboard element.
| |||||||||||
Marker(Geometry geometry, MarkerStyle style)
Constructs a Marker object from a geometry object and a style.
| |||||||||||
Marker(MapPos pos, MarkerStyle style)
Constructs a Marker object from a map position and a style.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
MarkerStyle |
getStyle()
Returns the style of this marker.
| ||||||||||
void |
setStyle(MarkerStyle style)
Sets the style for this marker.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a Marker object with the specified style and attaches it to a billboard element.
baseBillboard | The billboard this billboard will be attached to. |
---|---|
style | The style that defines what this marker looks like. |
Constructs a Marker object from a geometry object and a style.
geometry | The geometry object that defines the location of this marker. |
---|---|
style | The style that defines what this marker looks like. |
Constructs a Marker object from a map position and a style.
pos | The map position that defines the location of this marker. |
---|---|
style | The style that defines what this marker looks like. |
Returns the style of this marker.
Sets the style for this marker.
style | The new style that defines what this marker looks like. |
---|