LOCATIONTOOTHER

Takes a location string (either XML, lat;long, or address) and returns the component (latitude, longitude, etc.) as a string. Geocodes or reverse geocodes as necessary.

Syntax

= LOCATIONTOOTHER (location, componentToExtract)

Parameters:

location

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

componentToExtract

String value of the part of the point to extract: address, latitude, longitude, altitude, speed, bearing, accuracy, altitudeAccuracy, error.

Return Type

String

Returns the the component (latitude, longitude, etc.) as a string.

 

Examples

Example

Returns

= LOCATIONTOOTHER(GetBrowserLocation(), ”address”)

Returns address component as a string.

= LOCATIONTOOTHER("2870 Zaker Rd, San Jose CA", ”altitude”)

 

Returns altitude component as a string.