PrintGoogleDirections ( Start Address ; Start City ; Start State ; Start Zip ; Start Country ; End Address ; End City ; End State ;%
Rate this function: Average rating: 3.0 (6 votes) Discuss this Custom Function
Bill K, No Company
http://billspartypics.com
Give
Sample Input:
| PrintGoogleDirections ( Start Address ; Start City ; Start State ; Start Zip ; Start Country ; End Address ; End City ; End State ; End Zip ; End Country ) |
|
Sample Output:
| http://maps.google.com/maps?f=d&source=s_d&saddr=1+Microsoft+Way,+Redmond,+WA+98052+(Microsoft+Corporation+825)&daddr=1600+Amphitheatre+Parkway,+Mountain+View,+CA+94043&geocode=Ca9Rv24a3ZyGFbf71gIdLne4-CErWDHbJqnMXA;Fa8DOwIdLyS5-A&view=map&hl=en&mra=pe&mrcr=0&sll=42.532791,-122.106805&sspn=15.613641,32.497559&ie=UTF8&ll=42.536892,-122.67334&spn=15.613641,32.497559&t=h&z=6&layer=c&pw=2 |
|
Description:
This will create a URL from a starting address to an ending address to Google Maps Printable version
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
GeoBox(latitude;longitude; radius) |
| |
(Mon, Mar 15, 11:04am) |
| 2. |
MonthNameList ( start; number; short ) |
| |
(Sun, Mar 14, 11:45pm) |
| 3. |
matchListAB( ListA ; ListB; match_Value; match_operator ; getN ) |
| |
(Sun, Mar 14, 10:29pm) |
| 4. |
Bin2Hex ( binary ) |
| |
(Sat, Mar 13, 10:08pm) |
| 5. |
SlideView (text) |
| |
(Sat, Mar 13, 8:40pm) |
| 6. |
HashFNV1a64 ( text ; empty ) |
| |
(Sat, Mar 13, 6:23pm) |
| 7. |
HashFNV1a32 ( text ; empty ) |
| |
(Sat, Mar 13, 5:55pm) |
| 8. |
XORbin( bin0 ; bin1 ; "" ) |
| |
(Sat, Mar 13, 4:35pm) |
 |
|
Hi Bill, nice function. Just a couple of things:
1. When I tried to use it I would only see "A" pointer on the start location, and "1" pointer on the destination. There was no line drawn between them, nor any actual directions as text, should there have been?
2. Is it ok to omit certain parameters, ie just leaving them as double quotes? Some addresses in countries other than the US do not have a state or zip. It seems to work to the degree mentioned in (1) above, but that's about it.
Cheers
Daniel Wood, Christchurch, New Zealand
December 17, 2009 3:16pm