2012-01-20 32 views

回答

0

可以使用setZindex()方法標記給它一個較高的z-index。

http://code.google.com/apis/maps/documentation/javascript/reference.html#Marker

您可以通過標記爲mouseover事件設置事件偵聽器動態設置的z-index。

+0

我不知道如何使用setZindex() 考試。 – KwangKung

+0

你有鏈接到你的網站/代碼?您需要了解如何使用Google Maps API編寫JavaScript。 – andresf

+0

好的非常感謝 我使用。 marker.setZIndex(999); – KwangKung