setAnchorPosition

open fun setAnchorPosition(x: Float, y: Float): MarkerData.Builder

Set the relative position of MapMarker from its anchored location. Value 0,0 is top left location, 1,1 is bottom right. Default value is 0.5, 0.5.

Parameters

x

X position

y

Y position


open fun setAnchorPosition(@NonNull anchorPosition: PointF): MarkerData.Builder