removeDottedPolylineMapObject abstract method

bool removeDottedPolylineMapObject(
  1. DottedPolylineMapObject dottedPolylineMapObject
)

Removes a polyline points map object from the location view. dottedPolylineMapObject The polyline points map object instance DottedPolylineMapObject. Returns true if the operation is successful, false otherwise.

Example:

// Remove dotted polyline map object
if (_dottedPolylineMapObject != null) {
 bool removed = _locationWindow!.removeDottedPolylineMapObject(
   _dottedPolylineMapObject!,
 );
 print("Removed dotted polyline map object: $removed");
 _dottedPolylineMapObject = null;
}

Implementation

bool removeDottedPolylineMapObject(DottedPolylineMapObject dottedPolylineMapObject);