Placing a MapLabel on top of a Polygon in Google Maps V3

后端 未结 5 845
时光说笑
时光说笑 2020-12-14 19:29

I\'m trying to place a MapLabel on top of a Polygon in Google Maps V3. I\'ve tried to set the MapLabel zIndex to 2 and the Polygon zIndex to 1 without any luck. Isn\'t this

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-14 19:42

    Great to see that you're using the MapLabel utility library!

    As you've found out, the MapLabel sits in a different map pane. zIndex is only respected within a certain pane.

提交回复
热议问题