2013-03-06 78 views
0

以下是隻顯示一個多邊形的鏈接。變焦時改變多邊形

https://www.google.com/fusiontables/embedviz?viz=MAP&q=select+col1+from+1PdVL8ltzXzHWbZI6MVWNghTz7sh9FKH9hw_YYYM+where+col0+%3D+412&h=false&lat=44.07068786477725&lng=-91.70146331134345&z=13&t=1&l=col1&y=2&tmplt=2

增加變焦會使形狀消失第一,後來表現爲不同的多邊形。

下面是幾何coloumn值:

<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> 

是否有辦法來糾正這種行爲?

波格丹

回答

0

貌似與FusionTablesLayer會瓦發電機的一個問題。如果我export it using the FusionTables API v1.0 and render it as a native Google Maps API v3 polygon,它似乎在所有的縮放級別工作。

幾個選項:

  1. 你可以嘗試扭轉纏繞方向,在一些怪異的情況下,幫助像這樣
  2. 你可以嘗試簡化多邊形(雖然它看起來很簡單對我來說) ,但是這再一次幫助了這種奇怪的例子。

我所指的以前的例子在Fusion Tables User Group中討論過,找不到它們的快速搜索。

這是one of the threads I was remembering