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,
	iconAnimationMode: AnimationMode = AnimationMode.NORMAL
)

Marker settings for a cluster of simple marker objects.

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

Target width used for scaling.

Object rendering level.

Whether to animate appearance.

Animation mode.