drawCircle method

Future<void> drawCircle(
  1. CircleOSM circleOSM
)
inherited

Implementation

Future<void> drawCircle(CircleOSM circleOSM) async {
  await promiseToFuture(
    interop.drawCircle(
      mapIdMixin,
      CircleShapeJS(
        key: circleOSM.key,
        center: circleOSM.centerPoint.toGeoJS(),
        radius: circleOSM.radius,
        color: circleOSM.color.toHexColor(),
        strokeWidth: circleOSM.strokeWidth,
      ),
    ),
  );
}