Specify the z-index of Google Map Markers

前端 未结 4 577
离开以前
离开以前 2020-12-25 11:28

I am having a Google Map with lots of markers added using websockets. I am using custom marker images based on data availability. I want to make sure the newest marker stays

4条回答
  •  甜味超标
    2020-12-25 12:28

    Take care that as it says in the google map documentation the z-index of a circle will be compared to the z-index of other polygons and not to the z-index of the markers.

提交回复
热议问题