We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7891f74 commit a57dda6Copy full SHA for a57dda6
src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java
@@ -787,6 +787,7 @@ public void addCustomControls(CustomControl... customControls) {
787
* @param customControls list of custom controls to add to the map
788
*/
789
public void setCustomControls(CustomControl... customControls) {
790
+ this.customControls.clear();
791
this.getElement().executeJs("this._removeCustomControls()").then((e) -> {
792
JsonArray jsonArray = Json.createArray();
793
for (int i = 0; i < customControls.length; i++) {
0 commit comments