Hi,
I am using the google map api v2.0 for few Caribbean countries. It is up and 
running for last one year.

But suddenly I am facing one issue with direction functionality for Jamaica 
and Bahamas.

I am using *en_JM* as locale value for for Jamaica and *en_BS* for Bahamas.

Now it's stop working!! but default vale *en* is working fine for both the 
countries.
my code snippet:

    * var oDirections = new google.maps.Directions(null);
        //remove all existing eventListeners on the directions object
        google.maps.Event.clearInstanceListeners(oDirections);
        
        var directionQuery = Content.directions.from[ln]+" " + start.lat + 
"," + start.lng + " "+Content.directions.to[ln]+" " + end.lat + "," + 
end.lng;*
        
        oDirections.load( directionQuery, { getSteps:true, locale:
Content.directions.locale[ln], getPolyline:true } );

if I put Content.directions.locale[ln] = "en_JM" it call the error event 
function.

Is it lacale value had changed in recent year??

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api/-/J1Xne6kTQ0sJ.
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