Skip to content

Commit

Permalink
fix: use List of custom controls instead of Set to preserve order
Browse files Browse the repository at this point in the history
  • Loading branch information
paodb authored and javier-godoy committed Sep 26, 2024
1 parent a57dda6 commit dcd1b6d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -58,7 +58,7 @@ public class GoogleMap extends Component implements HasSize {

private Integer trackLocationId = null;

private Set<CustomControl> customControls = new HashSet<CustomControl>();
private List<CustomControl> customControls = new ArrayList<CustomControl>();

/** Base map types supported by Google Maps. */
public enum MapType {
Expand Down

0 comments on commit dcd1b6d

Please sign in to comment.