GOOGLEDIRECTIONS

Returns a string of HTML for adding a hyperlink that gets a Google directions popup. Clicking on the map image will popup a window with Google maps.

Syntax

= GOOGLEDIRECTIONS (startLocation, endLocation)

 

Parameters:

startLocation

String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon or a street address.

endLocation

String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon or a street address.

 

Return Type

String

Returns a string of HTML for adding a hyperlink that gets a Google directions popup.

 

Examples

Example

Returns

= GOOGLEDIRECTIONS ("37.39;-121.26", "37.39;-121.98")

Returns a string of HTML for adding a hyperlink that gets a Google directions popup

= GOOGLEDIRECTIONS (GetBrowserLocation(), "37.39;-121.98")

 

Returns a string of HTML for adding a hyperlink that gets a Google directions popup

= GOOGLEDIRECTIONS (GetBrowserLocation(), "2870 Zanker Rd San Jose, CA")

Returns a string of HTML for adding a hyperlink that gets a Google directions popup

 

 

Syntax

= GOOGLEDIRECTIONS (startLocation, endLocation, popupWidth, popupHeight, googleDirectionsParameters)

 

Parameters:

startLocation

String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon or a street address.

endLocation

String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon or a street address.

popupWidth

Width of a popup window

popupHeight

Height of a popup window

googleDirectionsParameters

These are additional direction parameters. Values can be separated using ampersand character. Please check the following url for additional parameters.

https://developers.google.com/maps/documentation/staticmaps/

 

Return Type

String

Returns a string of HTML for adding a hyperlink that gets a Google directions popup.

Examples

Example

Returns

= GOOGLEDIRECTIONS ("2870 Zanker Rd San Jose, CA", "Cupertino, CA", 500, 500, "zoom=5")

Returns a string of HTML for adding a hyperlink that gets a Google directions popup