open class MarkerBuilder
Builder class used to construct marker object that can be added to the map.
MarkerBuilder(position: LatLng)
Constructor of marker builder. Returns instance of marker builder. After setting other properties call |
open fun build(): Marker
Create an instance of a marker. |
|
open fun decal(decal: Boolean): MarkerBuilder
Whether the marker icon is to be attached to the map |
|
open fun draggable(draggable: Boolean): MarkerBuilder
When true, marker will be draggable. |
|
open fun icon(icon: Icon!): MarkerBuilder
Icon with name. |
|
open fun iconAnchor(iconAnchor: MarkerAnchor!): MarkerBuilder
Icon anchor points to the point on the icon which will be attached to the map. |
|
open fun markerBalloon(markerBalloon: BaseMarkerBalloon!): MarkerBuilder
Balloon that is to be shown when user clicks on the marker. |
|
open fun shouldCluster(shouldCluster: Boolean): MarkerBuilder
When true, marker will be clustered once this option is enabled. Default value is false. |
|
open fun tag(tag: Serializable!): MarkerBuilder
TAG is known android pattern to keep additional information. |
|
open fun toString(): String |