Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps API Countries and Regions as Polygons

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.

like image 785
Jacek Francuz Avatar asked Feb 02 '11 16:02

Jacek Francuz


People also ask

Can you add polygons to Google Maps?

A "New Path" or "New Polygon" dialog will pop up. You may need to move it out of the way before moving on to the next step. To draw the line or shape you want, click a start point on the map and drag.

How do I extract a polygon from Google Maps?

In Google Earth, create the polygon that you wish to bring into RockWorks. Or, locate the polygon that currently exists in your Saved Places listing. Right-click on the item, and choose Copy from the pop-up menu. Or, right-click on the item, and choose Save Place As to save the locations in a KMZ file.

Can you customize Google Maps API?

Google Maps Platform offers Cloud-based maps styling features that make it easy to style, customize, and manage your maps using the Google Cloud Console, letting you create a customized map experience for your users without having to update your apps' code each time you make a style change.


1 Answers

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

like image 147
Gregory A Beamer Avatar answered Sep 21 '22 12:09

Gregory A Beamer