setPlacement abstract method

bool setPlacement(
  1. Placement placement
)

Method is used to specify the placement mode for points along the polyline. placement The placement mode Placement. Default: VERTEX. Returns true if the operation is successful, false otherwise.

Example:

// Set placement type
bool placementSuccess = _dottedPolylineMapObject!.setPlacement(
 Placement.center,
);
print("Set dotted polyline placement to center: $placementSuccess");

Implementation

bool setPlacement(Placement placement);