Iam just try - Building a geocoding app with Appery.io database and server code ... its not working guys. After checking cost for training I understood why not working. Please try to build geocoding app step by step and explain - why doc is wrong?
Iam just try - Building a geocoding app with Appery.io database and server code ... its not working guys. After checking cost for training I understood why not working. Please try to build geocoding app step by step and explain - why doc is wrong?
Hello,
Thanks. Will check this.
Please reply when fix, i found interesting that option
Hello Fedora,
Sure, we will get back to you with update.
Its giving error on creating GetCustomersWithinRange, created service very different from expected.
any news?
Fedora,
Working on it, it might take some time.
ok, waiting
Hello!
1) In server code replace:
prerequestParams = {},
paramKeys = request.keys();
for (var key = 0; key < paramKeys.length; key++) {
requestParams[paramKeys[key]] = request.get(paramKeys[key]);
}
// Get request parameters
var latitude = requestParams["latitude"];
var longitude = requestParams["longitude"];
var radius = requestParams["radius"];/pre
With:
prevar latitude = request.object().latitude;
var longitude = request.object().longitude;
var radius = request.object().radius;/pre
2) For Geolocation service that calls server code, please change Content Type to json, and add request parameters radius, latitude, longitude.
Let us know if that helps.
We will update docs.
Geolocation services page giving clear form, not any Conten type or something else to change