public abstract static class MapObjectStyle.Builder<StyleClass extends MapObjectStyle.Builder> extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
protected StyleClass |
applyDefaultBuilderOptions() |
abstract StyleClass |
setAnchor(Anchor anchor)
Set map object anchor.
|
abstract StyleClass |
setClickable(boolean clickable)
Sets if the Marker will be clickable or not.
|
abstract StyleClass |
setFlat(boolean isFlat)
Whether the marker is drawn flat on the map (so that when the map is tilted, the marker is tilted too).
|
abstract StyleClass |
setOffset(Point point)
Map object offset in screen-space points.
|
protected StyleClass applyDefaultBuilderOptions()
public abstract StyleClass setFlat(boolean isFlat)
false
.public abstract StyleClass setAnchor(Anchor anchor)
Anchor.TOP
anchor
- the anchor valuepublic abstract StyleClass setOffset(Point point)
point
- the (x,y) values with which to offset the map object, relative its display point.public abstract StyleClass setClickable(boolean clickable)
clickable
- is clickable value