|
Whitebeam Template Reference Documentation
|
Geo Template
distance()
Calculate the distance, in miles, between two points
Syntax
number = rb.postcode.distance(point1, point2)
Parameters
The 'distance' method takes 2 parameters:
Results
The 'distance' method returns number:
Type/Value | Range/Length | Description |
number |
  |
Returns the distance (in miles) between two points specified by longitude and latitude
|
|
|
(loadtime : 67ms) |