locationToURI

Converts the specified location into the URI string

Syntax

locationToURI = function(aLocation);

Parameters

  • aLocation
    • functions: variable containing the location

Returned value

  • functions: location converted to a string

Examples

var location = getLocation();
var URI = locationToURI(location);
log(URI);