Google地图MarkerClusters无法在某些位置使用 [英] Google Maps MarkerClusters not working for some locations
问题描述
我有大量位置/标记,因此我使用的是MarkerClusters。除了一个集群外,这个工作很好。群集显示有3个位置,但如果您点击它,则不会显示任何位置。我似乎无法找到调试此问题的起点,因为我没有看到任何错误或警告。有没有人遇到过这个或有任何建议?
我使用Angular Google Maps指令( github )
请到我的代码: https://gist.github.com/fourq/bb30d2335ec2ab40170a maps / issues / 448rel =nofollow> https://github.com/angular-ui/angular-google-maps/issues/448
<按照这里的规定玩GridSize。
我猜这些数据太靠近了,或者你有欺骗。
I have a large number of locations/markers, so I'm using MarkerClusters. This is working great except for the one cluster. The cluster shows that there are 3 locations but if you click on it, it doesn't show any locations. I cannot seem to find a starting point to debug this issue since I don't see any errors or warnings. Has anyone run into this before or have any advice?
Example: Click the cluster with 3 locations near Honolulu to see what I mean. link
I'm using the Angular Google Maps directive (github)
Gist to my code: https://gist.github.com/fourq/bb30d2335ec2ab40170a
Please see here: https://github.com/angular-ui/angular-google-maps/issues/448
and play with gridSize as stated in here.
My guess the data is way too close together or you have dupes.
这篇关于Google地图MarkerClusters无法在某些位置使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!