On Jul 27, 11:58 pm, drt <[email protected]> wrote:
> On Jul 27, 9:13 pm, Ralph Ames <[email protected]> wrote:
>
> > >http://www.goodshephsv.org/GSMap1.htm
>
> > Maybe this alternative versionhttp://www.easypagez.com/examples/tgs.html
>
> > Ralph
> > -www.easypagez.com/maps/map_index.html
>
> I see the difference where now we can add the latlong of the church,
> but I don't know how to generate the driving direction from your
> code.
> This is the modification of GSMap1.htm after replacing this line with
> the one from your code:
> // map.setCenter(new GLatLng(40,-100),5);
> map.setCenter(new GLatLng(34.627426,-86.566483), 9);
>
> http://www.goodshephsv.org/GSMap2.htm
>
> It's midnight now, and tomorrow night I'll go over your code again to
> learn how to use it to generate driving direction. Here is what I got
> so far:
>
> http://www.goodshephsv.org/ezmap1.htm
>
> Thanks, Ralph.
>
> Aris/
GSMap2.htm seems to work fine. Two things I would like to change are:
1. I'd only ask the visitor to type in their "From:" address, skip the
"To:" address, since the destination address is the church address,
then let them click: 'get direction' to get the driving direction.
2. Remove those three extra white markers, but need a lot of trial and
errors since I don't really know how to code.
Thanks, Ralph. Next time when I edit my blog, I will add ezpagez.com
to my favorite links.
Aris/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---