Google Maps Markers not rendering in Chrome v27

2019-05-26 19:15发布

Using Chrome v27.0.1453.93. Markers do not render using the latest google maps api version. Markers render in Safari and FF. Chrome development tools indicate an Uncaught Type Error in Line 10 of https://maps.gstatic.com/intl/en_us/mapfiles/api-3/13/2/main.js.

I removed the deprecated MarkerImage class but it's still throwing a js error in Chrome.

This used to work. Implemented url is here.

Anyone else seeing this?

Thanks in advance.

1条回答
Melony?
2楼-- · 2019-05-26 20:07

I found a solution to this problem: add the parameter optimized: false when you create you marker. I don't know if there are other impacts with this parameter.

marker = new google.maps.Marker(
  optimized: false
)
查看更多
登录 后发表回答