Google Maps SVG marker doesn't display on IE 11

前端 未结 5 1471
星月不相逢
星月不相逢 2020-12-08 02:06

My SVG map marker disappears on IE11. It\'s visible in Chrome, Firefox, Safari, IE9 & 10, but not 11. I\'ve uploaded a JSfiddle of my current code. I can\'t tell if this

5条回答
  •  不思量自难忘°
    2020-12-08 02:43

    It seems Google Maps currently doesn't support using SVGs for marker images. You can have vector marker icons though, by using a Symbol object.

    For more details, see my answer to this question.

提交回复
热议问题