Google maps InfoBubble z-Index和GMap标记z-Index

Google maps InfoBubble z-Index和GMap标记z-Index,google-maps,z-index,google-maps-markers,infobubble,Google Maps,Z Index,Google Maps Markers,Infobubble,我正在使用GMap显示内容。然而,zIndex似乎不起作用,因为具有较低zIndex的InfoBubble仍然阻止具有较高zIndex的标记,有人遇到过类似的问题吗 GMap标记: new google.maps.Marker({ draggable: true, raiseOnDrag: true, icon: currentLocationMarkerImage, shadow: currentLocationMarkerShadow, shape:

我正在使用GMap显示内容。然而,zIndex似乎不起作用,因为具有较低zIndex的InfoBubble仍然阻止具有较高zIndex的标记,有人遇到过类似的问题吗

GMap标记:

new google.maps.Marker({
    draggable: true,
    raiseOnDrag: true,
    icon: currentLocationMarkerImage,
    shadow: currentLocationMarkerShadow,
    shape: currentLocationMarkerShape,
    map: map,
    animation: google.maps.Animation.DROP,
    position: getOriginLatLng(),
    zIndex: 11
});
信息泡沫:

new InfoBubble({
    /*maxWidth: 300,*/
    borderRadius        : 4,
    arrowStyle          : arrowStyle,
    color               : "#fff",
    borderColor         : '#1e90ff',
    backgroundColor     : '#fefefe',
    disableAutoPan      : disableAutoPan,
    shadowStyle         : 0,
    padding             : 5,
    arrowSize           : 10,
    borderWidth         : 2,
    // hideCloseButton  : true,
    arrowPosition       : 50,
    backgroundClassName : 'phoney',
    disableAnimation    : disableAnimation,
    zIndex              : 10
});

谢谢。

信息气泡将始终显示在标记的顶部。见:


infoBubble位于浮动窗格上。标记位于覆盖窗格上。

信息气泡将始终显示在标记的顶部。见:

infoBubble位于浮动窗格上。标记位于覆盖窗格上