ClusterMarkerer - 没有集群出现 - this.map_.mapTypes [this.map_.getMapTypeId()]未定义markerclusterer.js:304 [英] ClusterMarkerer - no cluster appear - this.map_.mapTypes[this.map_.getMapTypeId()] is undefined markerclusterer.js:304

查看:112
本文介绍了ClusterMarkerer - 没有集群出现 - this.map_.mapTypes [this.map_.getMapTypeId()]未定义markerclusterer.js:304的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的MarkerClusterer存在问题。



当我是400个标记时,群集出现,都有效。
但是现在我的云纹比600个标记和簇没有出现。



Firebug显示此错误:

  that.map_.mapTypes [that.map_.getMapTypeId()]未定义markerclusterer.js:304 

有没有想法?

谢谢


< script type =text / javascriptsrc =解决方案

最好的解决方案是切换到api 3.5。 http://maps.google.com/maps/api/js?v=3.5&sensor=true>< / script>


I have an issue with my MarkerClusterer.

When i was 400 markers, cluster appears, all worked. But now i have moire than 600 markers and cluster don't appear.

Firebug display this error:

that.map_.mapTypes[that.map_.getMapTypeId()] is undefined  markerclusterer.js:304

Have you an idea?

Thanks

解决方案

the best solution is switching to api 3.5 waiting a fix by google.
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.5&sensor=true"></script>

这篇关于ClusterMarkerer - 没有集群出现 - this.map_.mapTypes [this.map_.getMapTypeId()]未定义markerclusterer.js:304的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆