简体   繁体   English

Google地图,位于标记下方吗?

[英]Google maps, cluster below marker?

Have anybody hints, how to put a cluster below and StyledMarker onto chluster, like in image: 有任何人暗示,如何将群集和StyledMarker放在群集中,如下图所示: 在此处输入图片说明 .

I use markerClustererPlusV3.js and StyledMarker.js. 我使用markerClustererPlusV3.js和StyledMarker.js。

Thank you! 谢谢!

It seems that a lot of Overlays in Google Maps have a zIndex option (and a setIndex() method so) : https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions 似乎Google Maps中的许多Overlay都有zIndex选项(还有setIndex()方法): https : //developers.google.com/maps/documentation/javascript/reference#MarkerOptions

All markers are displayed on the map in order of their zIndex, with higher values displaying in front of markers with lower values. 所有标记均按其zIndex的顺序显示在地图上,较高的值显示在较低值的标记前面。 By default, markers are displayed according to their vertical position on screen, with lower markers appearing in front of markers further up the screen. 默认情况下,标记是根据其在屏幕上的垂直位置显示的,较低的标记显示在屏幕上方标记的前面。

:) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM