我使用不同的颜色标记在相同的纬度和经度上放置标记数量。当我点击标记时,显示每个标记的信息窗口。但不是标记。即使选择了其他标记,也只能看到最顶部的标记。我曾尝试使用public class Island {
private final int numRows;
private final int numColumns;
@JsonCreator
public Island(@JsonProperty("numRows")int numRows, @JsonProperty("numColumns")int numColumns) {
this.numRows = numRows;
this.numColumns = numColumns;
}
// other code ignored
}
,但这不起作用。请告诉解决方案在选中时将标记向前移动。
Z-Index
这是代码。 请帮我完成这个。提前谢谢。