Google Maps API国家和地区作为多边形 [英] Google Maps API Countries and Regions as Polygons
问题描述
我有一个关于在Google地图上突出显示区域的问题。我知道如何在地图上放置多边形。这非常简单而直接。问题是我没有访问这些数据,我不知道它的来源。从我的数据库中,我得到了一个特定位置的纬度/经度,并且我需要获得关于他们边界的数据。你知道任何免费或付费的数据库,包含世界上所有国家/地区的多边形数据吗?
I've got a question about highlighting areas on Google map. I know how to place polygons on map. It's pretty simple and straghtforward. The problem is I don't have access to such data and I don't know any source of it. From my database I get lat/lon for a specific place and I need to have data about their borders. Do you know any free or paid database that contains such polygons data for all countries/regions in the world?
预先致谢。
推荐答案
http://www.gelib .com / world-borders.htm
此位置有一个.kml文件,您可以用作起点。
http://www.gelib.com/world-borders.htm There is a .kml file at this location you can use as a starting point.
这篇关于Google Maps API国家和地区作为多边形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!