Google Maps JavaScript API won't display markers from KML exported from My Maps

前端 未结 1 730
感动是毒
感动是毒 2020-11-29 12:52

I have a map on Google My Maps that I want to display using the Google Maps JavaScript API; this is so that I can easily combine multiple maps into one and create paths/mark

相关标签:
1条回答
  • 2020-11-29 13:15

    There seems to be a bug.

    When I remove the <color/> from

    Style#icon-503-DB4436-nodesc-normal>IconStyle I see the marker.

    According to the documentation <color/> isn't supported at all for <IconStyle/> and will be ignored, so it shouldn't affect the rendering.

    Related: Issue 8551 in the issue tracker

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