setPlacementMinRatio abstract method

bool setPlacementMinRatio(
  1. double ratio
)

Method is used to specify the minimum ratio of the polyline length for point placement. ratio The minimum ratio of the polyline length (typically between 0 and 1). Default: 1.0. Returns true if the operation is successful, false otherwise.

Example:

// Set placement min ratio
bool minRatioSuccess = _dottedPolylineMapObject!.setPlacementMinRatio(
 0.5,
);
print("Set dotted polyline placement min ratio to 0.5: $minRatioSuccess");

Implementation

bool setPlacementMinRatio(double ratio);