I have been trying to use the GClientGeoCoder class to move a map to
given location and country. It works but it is ignoring the country I
set with setBaseCountryCode to 'CA' and address to 'London'. It still
goes to London, Great Britian, instead of London, Canada

Is this a bug or am I missing something here? Here is my sample code:

var map = new GMap2;
....
var country = 'CA''
var address = 'London'
var g = new GClientGeocoder();
g.setBaseCountryCode(country); g.getLatLng(address, function(c)
  {
   if(c)
   {
    map.setCenter(c);
   }
 }
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to