ru.dgis.sdk.map.SimpleClusterOptions | Android SDK | 2GIS Documentation
Android SDK

SimpleClusterOptions

Marker settings for a cluster of simple marker objects.

SimpleClusterOptions(
	icon: Image?,
	iconMapDirection: MapDirection? = null,
	anchor: Anchor = Anchor(x = 0.5f, y = 0.5f),
	text: String? = null,
	textStyle: TextStyle? = null,
	iconOpacity: Opacity = Opacity(value = 1.0f),
	iconWidth: LogicalPixel = LogicalPixel(value = 0.0f),
	userData: Any? = null,
	zIndex: ZIndex = ZIndex(value = 0),
	animatedAppearance: Boolean = true
)

Marker settings for a cluster of simple marker objects.

Parameters
icon
iconMapDirection
anchor
text
textStyle
iconOpacity
iconWidth
userData
zIndex
animatedAppearance
Returns
Properties

target width used for scaling

Object drawing level.

Whether to animate appearance