I've converted an .shp file, downloaded from Zillow http://www.zillow.com/howto/api/neighborhood-boundaries.htm, to .kml using the "Quantum GIS Desktop", when I loaded it on the map I found that I can't click inside of the boundary to get the name of the county since Google has drawn the boundaries using polylines, I can only click on the line which is very unusable. You can see what I mean on this page: http://webappscustoms.com/tests/google_maps/Zillow/map/index.html.
所以我想知道是否有一种简单的方法可以告诉 Google Maps API 绘制多边形而不是折线?也许有一种方法,在 Quantum 中将 .shp 转换为 .kml 文件时,可以告诉边界是多边形而不是折线?..如果我在 Google 地球中打开转换后的文件,我可以在该区域内单击并获取默认数据而不会出现任何问题。
如果没有任何简单的选项,那么我可能可以手动绘制多边形,但我不确定如何使用 Google Maps API 从 .kml 文件中提取纬度/经度,是否可能?
谢谢!