How to put a polygon layer under the streets layer in Google maps API v3

后端 未结 1 1406
没有蜡笔的小新
没有蜡笔的小新 2021-01-23 15:07

Hi. I have a question about polygons in Google maps v3. How to put them under the street\'s layer in Google maps API v3?

This is my map: http://gidzior.net/map/ As you c

1条回答
  •  一向
    一向 (楼主)
    2021-01-23 16:08

    I know this isn't the answer you were hoping for, but there is no direct way to do this using the out-of-the-box API provided overlays, such as: Circle, GroundOverlay, InfoWindow, Marker, Polygon, or Polyline. There are even limitations within this group of overlays. For example, there is no way to have a Polyline appear above a Marker. If you would like to see some changes in the way this works, your only option right now is to make an enhancement request at: gmaps-api-issues.

    As an aside, I think that adding content beneath the road markings would tend to make it appear that it was actually part of the Google Maps content, rather than something custom that has been added, and more than likely leading to confusion.

    0 讨论(0)
提交回复
热议问题