|
You must add a field with the Geocode data type to the relevant object and input records with latitude and longitude coordinates in the newly added field.
|
Parameter Name
|
Description
|
Example
|
---|---|---|
path_to_field_of_datatype_geocode
|
Full SQML path to a field with the Geocode data type that is included in the object being queried.
|
svmx_geocode_field
|
latitude, longitude
|
Geographical coordinates in latitude and longitude decimal degrees from which distance is calculated. You can pass the coordinates as one String (example 1), two double values (example 2), or two separate Strings (example 3).
|
• (1)
-37.4433, -68.2233
• (2)
23.2232, -0.3234
• (3)
-12.3444, 65.1888
|
distanceInMeters
|
The distance value to compare against, which is a double value expressed in meters.
|
1000.33, 1230000, 264.1
|