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

CameraPositionPoint

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 - the upper-left corner of the screen area, 1,1 - the lower-right corner.

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

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 - the upper-left corner of the screen area, 1,1 - the lower-right corner.

Parameters
x
y
Returns
Properties