Hi, all
i am getting error while dong map direction my error is
Error: GDirections is not defined
i am working in firefox
and i have search a lot for this
even i m using v=2.115
but i am still facing this prob

my function code is ::

function getRoute()
{
        directionsPanel = document.getElementById("route");
        source1 =  document.getElementById("starttrip1");
        destination =  document.getElementById("endtrip1");

        directions = new GDirections(map, directionsPanel);
        directions = new GDirections(map);
        directions.load("from: "+source1.value+" to: "+destination.value);
}

please help me out from this problem

--~--~---------~--~----~------------~-------~--~----~
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