Open ivanmatiaspascual opened 5 years ago
There is a workaround just setText with null as text.
polyline.setText(null, textOptions); // erase the previous text polyline.setText(newText, textOptions); // draw the new one
Yeah just chain it
polyline.setText(null).setText(newText, textOptions);
There is a workaround just setText with null as text.