I have created a google map where in i want to display only 3 country's name(China, Brazil and Germany) but my map is displaying other countries as well. Can anyone help me to display only the above country names and hide the rest.
The map you are pulling in is provided by Google, showing an area based upon your points. As you have three points spread over a wide area you will get all of the map in between as well, and by default, Google puts placenames on everything.
I don't believe there is a way to instruct the Google Maps API to remove country names. What kind of effect are you trying to achieve or what story are you trying to tell with this data? If you wish to only show those three countries then you might want to investigate the option of an SVG map using an extension object. This would allow you to show the country outline for only those countries you have in your data.
Yes Jon, it is correct. I am using long and latitude values only for those 3 countries. I think Adam is right. We cant hide other country names. Please let me know if there is any way to hide other than using extension objects.