I would like to show country boundaries for only one country inside Google Map, just like it's done here:
Does anybody have an idea if it's possible to get such map using Google Maps and how to achieve it?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With