Google Maps Javascript API v3 Map Label and Polygons

前端 未结 4 1860
迷失自我
迷失自我 2020-12-01 20:12

I am using the Google Maps javascript API v3 with a project, and I am currently having troubles getting the maplabels to appear above the polygons. I know that the polygon

4条回答
  •  心在旅途
    2020-12-01 21:14

    This works:

    In maplabel.js change:

    mapPane.appendChild(canvas);
    

    To

    overlayLayer.appendChild(canvas);
    

提交回复
热议问题