Hi, thanks for the quick reply.
is the address too long?
http://hosting.gmodules.com/ig/gadgets/file
/105872567004291445023/dhMapplet_copy310.xml
hopefully, connecting the two lines above would work
I start with mapplet first. API is my next step.
> directions and the "warning"? If not GDirections in the API (I don't
> know anything about "mapplets") will fail when set to "walking
> directions".
Do you mean that GDirections walking mode fails in mapplet?
I didn't receive an error. After putting the testing address, the load
function is completely skipped.
(no path, no marker, and no other stuffs)
but if I take off the {travelMode:G_TRAVEL_MODE_WALKING} part, the
code works fine...
Thanks again,
Derek H.
On Mar 5, 5:56 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 5, 1:24 pm, YuDe <[email protected]> wrote:
>
> > Hi, this is my first post.
> > I am working on amapplet. I want to showwalkingpath on the map, but
> > it is not displaying.
>
> > The line of the code is
> > directions.load("from: " + curPos + " to: " + destination,
> > {travelMode:G_TRAVEL_MODE_WALKING});
> > I cannot find anything wrong with this line. If I didn't add the
> > quaryOpt part, it works fine.
>
> > Here is my
> > code:http://hosting.gmodules.com/ig/gadgets/file/105872567004291445023/dhM...
>
> I can't read the "code". Do you have a place to display the textual
> directions and the "warning"? If not GDirections in the API (I don't
> know anything about "mapplets") will fail when set to "walking
> directions".
>
> -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---