setOutlineWidth abstract method

bool setOutlineWidth(
  1. double radius
)

Method is used to specify the width of the polyline’s outline. radius Width of the outline in pixels. Returns true if the operation is successful, false otherwise.

Example:

// Set outline width
bool outlineWidthSuccess = _polylineMapObject!.setOutlineWidth(1.0);
print("Set polyline outline width to 1.0: $outlineWidthSuccess");

Implementation

bool setOutlineWidth(double radius);