更改缩放比例时多边形会变成杂线 [英] Polygon goes hey-wire when zoom is changed
本文介绍了更改缩放比例时多边形会变成杂线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
此处是仅显示一个多边形的链接.
Here is the link that displays only one polygon.
Increasing the zoom will make the shape to disappear first and later appear as a different polygon.
以下是几何列的值:
<Polygon><outerBoundaryIs><LinearRing><coordinates>-91.7038631654,44.0694374856,0 -91.7055532814,44.0738871339,0 -91.7054979683,44.0739665384,0 -91.7055402916,44.0741115336,0 -91.7056036015,44.0741019279,0 -91.7056387888,44.074121276,0 -91.7057645696,44.0744656962,0 -91.7056251503,44.0745755934,0 -91.7054229212,44.0739915748,0 -91.7037600839,44.0695990536,0 -91.7036568735,44.0695519885,0 -91.7031499848,44.0695794019,0 -91.7031311599,44.0695869489,0 -91.7031138294,44.0695961708,0 -91.7030982784,44.069606916,0 -91.7030847624,44.0696190077,0 -91.7030735039,44.0696322471,0 -91.7030646879,44.0696464165,0 -91.7030584595,44.0696612828,0 -91.7030549211,44.0696766016,0 -91.7030541309,44.0696921209,0 -91.7030561019,44.0697075855,0 -91.7030410581,44.0694768048,0 -91.7038631654,44.0694374856,0</coordinates></LinearRing></outerBoundaryIs></Polygon>
有没有办法纠正这种行为?
Is there a way to correct this behavior?
博格丹
推荐答案
看起来像FusionTablesLayer切片生成器有问题.如果我
Looks like a problem with the FusionTablesLayer tile generator. If I export it using the FusionTables API v1.0 and render it as a native Google Maps API v3 polygon, it seems to work at all zoom levels.
几个选项:
- 您可以尝试反转缠绕方向,这在像这样的怪异情况下有帮助
- 您可以尝试简化多边形(尽管对我来说似乎很简单),但是在像这样的怪异情况下,这又有所帮助.
融合表用户组,无法通过快速搜索找到它们.
The previous instances I am referring to were discussed in the Fusion Tables User Group, couldn't find them with a quick search.
这是 查看全文