lib/Models/GnafApi.js
function addBoundingBox(requestData, rectangle) {
  requestData["box"] = {
    minLat: CesiumMath.toDegrees(rectangle.south),
    maxLon: CesiumMath.toDegrees(rectangle.east),
    maxLat: CesiumMath.toDegrees(rectangle.north),
    minLon: CesiumMath.toDegrees(rectangle.west)
  };
}
function addBoundingBox(requestData, rectangle) {
  requestData["box"] = {
    minLat: CesiumMath.toDegrees(rectangle.south),
    maxLon: CesiumMath.toDegrees(rectangle.east),
    maxLat: CesiumMath.toDegrees(rectangle.north),
    minLon: CesiumMath.toDegrees(rectangle.west)
  };
}
function addBoundingBox ( requestData , rectangle ) { requestData [ "box" ] = { minLat : CesiumMath . toDegrees ( rectangle . south ) , maxLon : CesiumMath . toDegrees ( rectangle . east ) , maxLat : CesiumMath . toDegrees ( rectangle . north ) , minLon : CesiumMath . toDegrees ( rectangle . west ) } ; }
Adds a bounding box filter to the search query for elastic search. This simply modifies requestData and returns nothing.

@param {object} requestData Request data to modify
@param {Rectangle} rectangle rectangle to source the bounding box from.
Adds a bounding box filter to the search query for elastic search . This simply modifies requestData and returns nothing .