GOOGLEMAPWITHDIRECTIONS

Returns a string of HTML for adding a hyperlink that gets a Google directions popup. Inside the hyperlink is an image that is a static map of the endLocation. Note that startLocation and endLocation can both be lat/long, both address, or one lat/long and the other address. No geocoding is performed.

Syntax

= GOOGLEMAPWITHDIRECTIONS (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

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

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

 

Syntax

= GOOGLEMAPWITHDIRECTIONS (startLocation, endLocation, width, height, popupWidth, popupHeight, googleMapParameters, 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.

width

Integer width of map image or iframe. -1 will use the default value

height

Integer height of map image or iframe. -1 will use the default value

popupWidth

Width of a popup window

popupHeight

Height of a popup window

googleMapParameters

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

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

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

= GOOGLEMAPWITHDIRECTIONS("2870 zanker rd san jose, CA", "Cupertino, CA", 500, 500, 200, 200, "maptype=roadmap", "zoom=13")

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