Please apologize , im a newbye in this , can you helpme how write the
calculateDistance() function ? i think that
onclick="calculateDistance();" />   has the error "Object Expected"
because the calculateDistance() function doesn't exist.

I try to put:  function calculateDistance() {
 wheare start the "calculateDistance" code like this but now work! :
function calculateDistance() {
  var points = [];
  var polyline = null;
  var endMarker = null;
  var distance = 0;
  var listener = null;
  var start_icon = new GIcon(G_DE..........

Please How write  the calculateDistance() function? Thank you very
much in advanced!
--~--~---------~--~----~------------~-------~--~----~
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