I have code like this that sets the map type to Terrain View:
map = new GMap2(document.getElementById("map_canvas"));
map.setMapType(G_PHYSICAL_MAP); //Terrain View
The G_PHYSICAL_MAP
type used to display the country names, so Google must have changed this recently. Is there a way to add the country names back?
This is how the terrain map looks now without country names: Current Terrain View http://img413.imageshack.us/img413/3756/terrnoname.jpg
This is how it was a few weeks ago: Terrain View with Country Names http://img13.imageshack.us/img13/2466/googlemapsterrain21.png
Thanks.
The country names on the terrain map were part of the map imagery (before they disappeared). Unfortunately there seems to be no way to request different map imagery that includes country names.
The only option I see is to define your own map overlay on top of the terrain map, with all the country names. (Probably not practical and not easy).
1st EDIT: As suggested in a comment below, if you plan to add large overlays over the terrain map, you may want to use the open-source tool MapTiler (for Windows and Mac OS X). MapTiler will automate the tiling process for you, and in addition, once the tiling process is finished, it will generate a simple HTML viewer. If you are adding the name of just one country, you may want to use the GGroundOverlay instead. (Google Demo)
2nd EDIT: Note that this issue has been acknowledged by a Google employee on January 20th, and therefore you may want to consider waiting for a few days to see if it gets sorted automatically, before you commit your time to fix it.
3nd EDIT: This has been fixed a few weeks ago by Google.
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