Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 MyLocationOverlay 和其他叠加层的地图视图。MyLocationOverlay 绘制在其他叠加层下,我希望它在顶部。我该如何改变呢?是否有任何选项可以对叠加层进行排序?
您的图层的 z-index 取决于您添加这些图层的顺序。所以最后添加你的 MyLocationOverlay。