Progress will discontinue Telerik Platform on May 10th, 2018. Learn more




whereQuery.withinCenterSphere(field, center, radius, [metrics])


Adds a Geospatial condition that a specified geopoint must be within a coordinate circle. Applicable to GeoPoint fields only.

Return Type



Parameter Name Type Default Description
field string Field name containing a {GeoPoint} in the following format: (decimal_degrees_latitude,decimal_degrees_longitude), where decimal_degrees_latitude ranges from -90 to 90 and decimal_degrees_longitude ranges from -180 to 180. Example: (42.6954322,123.3239467)
center Everlive.GeoPoint Comparison value specifying the center of the coordinate circle.
radius number Value specifying the radius length.
[metrics] string radians A string representing what unit of measurement is used for radius length. Possible values: radians, km, miles.
Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.