setPosition abstract method

bool setPosition(
  1. LocationPoint point
)

Method is used to specify the center of the circle. point Metrics coordinates of the center LocationPoint. Returns true if the operation is successful, false otherwise.

Example:

// Set circle position
LocationPoint centerPoint = LocationPoint(100.0, 200.0);
bool success = _circleMapObject!.setPosition(centerPoint);
print(
 "Set circle position to (${centerPoint.x}, ${centerPoint.y}): $success",
);

Implementation

bool setPosition(LocationPoint point);