setRepeatDistance abstract method
Method is used to specify the distance interval for repeating points along the polyline.
distance The repeat distance in pixels. Default: 0.
Returns true if the operation is successful, false otherwise.
Example:
// Set repeat distance
bool repeatDistanceSuccess = _dottedPolylineMapObject!.setRepeatDistance(
20.0,
);
print(
"Set dotted polyline repeat distance to 20.0: $repeatDistanceSuccess",
);
Implementation
bool setRepeatDistance(double distance);