Stamplay.Query("object", "dinners")
    .nearSphere('Point', [74.0059, 40.7127], 1000)
    .exec()
    .then(function (res) {
        // success