diff --git a/src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java b/src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java index 07c13f6..a7517da 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java +++ b/src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java @@ -42,9 +42,9 @@ import elemental.json.JsonArray; import elemental.json.JsonObject; import elemental.json.JsonValue; -import java.util.HashSet; +import java.util.ArrayList; +import java.util.ArrayList; import java.util.List; -import java.util.Set; import java.util.concurrent.CompletableFuture; import org.apache.commons.lang3.StringUtils; @@ -58,7 +58,7 @@ public class GoogleMap extends Component implements HasSize { private Integer trackLocationId = null; - private Set customControls = new HashSet(); + private List customControls = new ArrayList(); /** Base map types supported by Google Maps. */ public enum MapType {