i use the map.getdirection for obtain the path from one point to another and if the command is in the main file (html, php, ecc...) i see the direction, the numbered point on map and the blue line that connect its.

but if i insert the same command in another external script when i recall the function i've the same behavior but the system doesn't draw the blu line, anoyone can hepl me please

Re: trouble with get direction

Derek Chan

Shouldn't be a problem if calling from a script, can you please post your html file and javascript or sample code to reduplicate