简体   繁体   中英

Country shapes for google maps

I'm doing few experiments using Google Maps and now I was taking a look to the circles.

My idea is to create a circle for each country in Europe and load the markers inside only when someone click on the circle.

I did it and works fine.

Now what I'd like to do is to create a shape of the countries and replace each circle.

I was looking at the polygons and it seems to be what I'm looking for but creating a good shape for each country takes a planty of time...

There is a Google Maps service that highlight the countries that you need? (Not Google Charts, I already took a look on it)

Or Exist something already builded to import easily with Javascript?

The boundaries of the world countries are available in the Natural Earth data set and in a public FusionTable.

Here is an example using that data to display French provinces

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM