setTempToPolyline method
void
setTempToPolyline()
Implementation
void setTempToPolyline() {
_tempPolylines
.removeWhere((line) => line.polylineId.toString() == uniqueID);
_tempPolylines.add(
Polyline(
polylineId: PolylineId(uniqueID),
points: _tempLocation,
width: 8,
color: _polygonColor!.withOpacity(0.3),
),
);
_polylines = _tempPolylines;
notifyListeners();
}