Google Maps API Countries and Regions as Polygons

人走茶凉 提交于 2019-11-29 21:03:08

问题


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?

Thanks in advance.


回答1:


http://www.gelib.com/world-borders.htm There is a .kml file at this location you can use as a starting point.




回答2:


With this tool you can create any polygon you like: http://www.birdtheme.org/useful/googletool.html



来源:https://stackoverflow.com/questions/4877351/google-maps-api-countries-and-regions-as-polygons

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!