linking to the "Get directions"

19 views
Skip to first unread message

edward

unread,
Jun 22, 2011, 9:45:01 AM6/22/11
to Google Maps JavaScript API v3
Hi

I have used the "Get directions" functionality - and its great. here -
http://www.brig.ee-web.co.uk/index.php?option=com_content&view=article&id=7&Itemid=11

However, I now have to add a "Print facility" and it was decided the
quickest thing might be to link from the site straight through to the
google page that shows the directions (ie with the to and from boxes
filled out). This will then give the user all the options - like add
one or two "mini maps" etc for tricky bits.

Can anyone suggest what might be the easiest way of acheiving this. I
guess I need to construct the appropriate link?

Thanks

E

geoco...@gmail.com

unread,
Jun 22, 2011, 4:42:59 PM6/22/11
to Google Maps JavaScript API v3
On Jun 22, 6:45 am, edward <edw...@eldon.gotadsl.co.uk> wrote:
> Hi
>
> I have used the "Get directions" functionality - and its great. here -http://www.brig.ee-web.co.uk/index.php?option=com_content&view=articl...
>
> However, I now have to add a "Print facility" and it was decided the
> quickest thing might be to link from the site straight through to the
> google page that shows the directions (ie with the to and from boxes
> filled out). This will then give the user all the options - like add
> one or two "mini maps" etc for tricky bits.
>
> Can anyone suggest what might be the easiest way of acheiving this. I
> guess I need to construct the appropriate link?

See Mike Williams' (v2) tutorial, it has examples of doing that (and
that part isn't API specific):
http://econym.org.uk/gmap/basic4.htm

-- Larry

>
> Thanks
>
> E

edward

unread,
Jun 23, 2011, 5:43:43 AM6/23/11
to Google Maps JavaScript API v3
thanks - that looks very useful
Reply all
Reply to author
Forward
0 new messages