user1365697
user1365697

Reputation: 5989

Assign color to country in Google maps API

I am using Google API maps. I want to assign different color to different country for example in England I want to draw each city in different color. How I can do it with JavaScript API V3? Do I need to use polygons?

Upvotes: 0

Views: 3582

Answers (1)

Mano Marks
Mano Marks

Reputation: 8819

You need to use either polygons or a KMLLayer. And for that, you need to provide your own source of data. http://naturalearthdata.com is a good source of public domain data. But Google doesn't provide the boundary information.

Upvotes: 1

Related Questions