Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps single country boundary [closed]

I would like to show country boundaries for only one country inside Google Map, just like it's done here:

enter image description here

Does anybody have an idea if it's possible to get such map using Google Maps and how to achieve it?

like image 768
Michał Czapko Avatar asked Aug 06 '12 16:08

Michał Czapko


People also ask

Is Google Maps limited to one country?

we can allow only specific country to autocomplete search in google maps. We are using google map autocomplete for choosing address with latitude and longitude. but if you require to search only one country like in, us, uk etc then you can do it using setComponentRestrictions option in google map.

Why are some countries not outlined in Google Maps?

Many nations across the globe have disputed international borders due to past or current conflicts with other nations. To avoid any controversy, and as an indirect sign that a country has conflicted borders, Google doesn't highlight it when you search its name.

Why did Google Earth get rid of county lines?

A Google product expert explains that the disappearance of the county lines is due to changes made in the layers of the Google Earth Pro client. And, there is no official way to get function back for everyone.


1 Answers

The country polygons are available in FusionTables (specifically in the Natural Earth Data set).

Here is an example showing South Africa, it includes the individual states, if you don't want them, you should be able to find the country borders. See this similar question or this one

Here is an example showing just the country of South Africa from this FusionTable

This looks like the closest it can be styled to the image.

like image 166
geocodezip Avatar answered Sep 19 '22 12:09

geocodezip