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

MarkerOptions

Параметры маркера.

MarkerOptions(
	position: GeoPointWithElevation,
	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),
	visible: Boolean = true,
	draggable: Boolean = false,
	iconWidth: LogicalPixel = LogicalPixel(value = 0.0f),
	userData: Any? = null,
	zIndex: ZIndex = ZIndex(value = 0),
	animatedAppearance: Boolean = true
)

Параметры маркера.

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

целевая ширина, используемая для масштабирования

Уровень отрисовки объекта.

Анимировать ли появление