File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -1170,28 +1170,6 @@ class ParseQuery {
1170
1170
return this ;
1171
1171
}
1172
1172
1173
- /**
1174
- * Adds a constraint to the query that requires a particular key's
1175
- * coordinates be contained within a given rectangular geographic bounding
1176
- * box.
1177
- * @param {String } key The key to be constrained.
1178
- * @param {Parse.GeoPoint } southwest
1179
- * The lower-left inclusive corner of the box.
1180
- * @param {Parse.GeoPoint } northeast
1181
- * The upper-right inclusive corner of the box.
1182
- * @return {Parse.Query } Returns the query, so you can chain this call.
1183
- */
1184
- withinGeoBox ( key : string , southwest : ParseGeoPoint , northeast : ParseGeoPoint ) : ParseQuery {
1185
- if ( ! ( southwest instanceof ParseGeoPoint ) ) {
1186
- southwest = new ParseGeoPoint ( southwest ) ;
1187
- }
1188
- if ( ! ( northeast instanceof ParseGeoPoint ) ) {
1189
- northeast = new ParseGeoPoint ( northeast ) ;
1190
- }
1191
- this . _addCondition ( key , '$within' , { '$box' : [ southwest , northeast ] } ) ;
1192
- return this ;
1193
- }
1194
-
1195
1173
/**
1196
1174
* Adds a constraint to the query that requires a particular key's
1197
1175
* coordinates be contained within and on the bounds of a given polygon.
You can’t perform that action at this time.
0 commit comments