Jump to Area Azimuth Color Displace Distance DMS Draw Formulae Geocode Geodesix GeoReverse Heat JavaScript PlusCode Regex TimeOffset TimeZone Travel
Area function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
points | Range | A N*2 array of Latitudes and Longitudes. |
Example
Open the example functions workbook
Azimuth function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
originlat | Double | Latitude of origin. Must be between -90 and 90. |
originlong | Double | Longitude of origin. Must be between -180 and 180. |
destlat | Double | Latitude of destination. Must be between -90 and 90. |
destllong | Double | Longitude of destination. Must be between -180 and 180. |
Example
Open the example functions workbook
Color function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
Color | String | A Color name or 6-character hex Color code. |
format | String | A combination of letters #ARGB. |
Example
Open the example functions workbook
Displace function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
latitude | Double | Latitude of origin. Must be between -90 and 90. |
longitude | Double | Longitude of origin. Must be between -180 and 180. |
bearing | Double | Bearing of offset. Must be between -360 and 360. |
distance | Double | Distance to offset. Must be 0 or more. |
Example
Open the example functions workbook
Distance function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
originlat | Double | Latitude of origin. Must be between -90 and 90. |
originlong | Double | Longitude of origin. Must be between -180 and 180. |
destlat | Double | Latitude of destination. Must be between -90 and 90. |
destlLong | Double | Longitude of destination. Must be between -180 and 180. |
Example
Open the example functions workbook
DMS function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
dms | String | A Latitude/Longitude in Degrees° Minutes"" Seconds'. Note the symbols ° "" '. |
Example
Open the example functions workbook
Draw function
Syntax
Returns
See DrawingFunctions
Formulae function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
cell | String | The cell for which the formula is desited. |
Example
Open the example functions workbook
Geocode function
Syntax
Arguments
Name | Type | Description |
---|---|---|
request | String | The type of information to return. Must be one of "GeoFields()". |
place | String | The place for which the information is to be obtained. |
Example
Open the example functions workbook
Geodesix function
Syntax
GeoReverse function
Syntax
Arguments
Name | Type | Description |
---|---|---|
request | String | The type of information to return. Must be one of "GeoFields()". |
latitude | Double | Latitude. Must be between -90 and 90. |
longitude | Double | Longitude. Must be between -180 and 180. |
Example
Open the example functions workbook
Heat function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
value | Double | A value in the range minimum .. maximum. |
minimum | Double | Lowest value of range. |
maximum | Double | Highest value of range. |
Example
Open the example functions workbook
JavaScript function
Syntax
Arguments
Name | Type | Description |
---|---|---|
function | String | Any Javascript function. |
Example
Open the example functions workbook
PlusCode function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
latitude | Double | A Latitude to convert to a PlusCode. Must be between -90 and 90. |
longitude | Double | A Longitude to convert to a PlusCode. Must be between -180 and 180. |
length | Integer | The desired length of the PlusCode. |
Example
Open the example functions workbook
Regex function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
string | String | A string to parse. |
pattern | String | A regular expression. |
group | Integer | Index of group to retrieve: 0 ..N. |
item | Integer | Index of item in group: 0 ..N. |
Example
Open the example functions workbook
TimeOffset function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
latitude | Double | Latitude. Must be between -90 and 90. |
longitude | Double | Longitude. Must be between -180 and 180. |
Example
Open the example functions workbook
TimeZone function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
latitude | Double | Latitude. Must be between -90 and 90. |
longitude | Double | Longitude. Must be between -180 and 180. |
Example
Open the example functions workbook
Travel function
Syntax
Returns
Arguments
Name | Type | Description |
---|---|---|
type | String | Distance or Duration. Must be one of "Distance", "Duration". |
origin | String | Origin, name of a place. |
destination | String | Destination, name of a place. |
mode | String | Mode of travel. Must be one of "Transit", "Driving", "Walking", "Bicycling". |