There is a workaround just setText with null as text. ```javascript polyline.setText(null, textOptions); // erase the previous text polyline.setText(newText, textOptions); // draw the new one ```