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

CameraPositionPoint

The relative screen position of the point to which the camera is attached.

Screen area is set by paddings. x - offset from the left edge of the screen area, y - offset from the top edge Allowed range of padding values (0.0f, 1.0f) 0,0 - upper left corner of the screen area, 1,1 - lower right

CameraPositionPoint(x: Float = 0.5f, y: Float = 0.5f)

The relative screen position of the point to which the camera is attached.

Screen area is set by paddings. x - offset from the left edge of the screen area, y - offset from the top edge Allowed range of padding values (0.0f, 1.0f) 0,0 - upper left corner of the screen area, 1,1 - lower right

Parameters
x
y
Returns
Properties