public abstract static class MapImageStyle.Builder extends MapObjectStyle.Builder<MapImageStyle.Builder>
MapImageStyle
object.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MapImageStyle |
build()
Builds the
MapImageStyle object. |
abstract MapImageStyle.Builder |
setMarkerImage(MarkerImage markerImage)
Sets the marker image to show with the marker
|
MapImageStyle.Builder |
setSizePixels(int widthPixels,
int heightPixels)
Set the size of the marker in pixels.
|
applyDefaultBuilderOptions, setAnchor, setClickable, setFlat, setOffset
public MapImageStyle.Builder setSizePixels(int widthPixels, int heightPixels)
widthPixels
- the width in pixelsheightPixels
- the height in pixelsMapImageStyle.Builder
instancepublic abstract MapImageStyle.Builder setMarkerImage(MarkerImage markerImage)
markerImage
- the marker imageMapImageStyle.Builder
instancepublic MapImageStyle build()
MapImageStyle
object.MapImageStyle
object