Page 1 of 4

Tutorial wrong?

Posted: Mon Jun 02, 2014 8:11 pm
by Fedora Gore

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?


Tutorial wrong?

Posted: Mon Jun 02, 2014 10:54 pm
by Alena Prykhodko

Hello,

Thanks. Will check this.


Tutorial wrong?

Posted: Tue Jun 03, 2014 8:23 am
by Fedora Gore

Please reply when fix, i found interesting that option


Tutorial wrong?

Posted: Tue Jun 03, 2014 8:26 am
by Evgene Karachevtsev

Hello Fedora,

Sure, we will get back to you with update.


Tutorial wrong?

Posted: Tue Jun 03, 2014 8:33 am
by Fedora Gore

Its giving error on creating GetCustomersWithinRange, created service very different from expected.


Tutorial wrong?

Posted: Tue Jun 03, 2014 12:31 pm
by Fedora Gore

any news?


Tutorial wrong?

Posted: Tue Jun 03, 2014 12:35 pm
by Evgene Karachevtsev

Fedora,

Working on it, it might take some time.


Tutorial wrong?

Posted: Tue Jun 03, 2014 1:22 pm
by Fedora Gore

ok, waiting


Tutorial wrong?

Posted: Wed Jun 04, 2014 10:55 am
by Maryna Brodina

Hello!

1) In server code replace:

prerequestParams = {},
paramKeys = request.keys();
for (var key = 0; key < paramKeys&#46;length; key++) {
requestParams[paramKeys[key]] = request&#46;get(paramKeys[key]);
}

&#47;&#47; Get request parameters
var latitude = requestParams["latitude"];
var longitude = requestParams["longitude"];
var radius = requestParams["radius"];/pre
With:

prevar latitude = request&#46;object()&#46;latitude;
var longitude = request&#46;object()&#46;longitude;
var radius = request&#46;object()&#46;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.


Tutorial wrong?

Posted: Wed Jun 04, 2014 1:48 pm
by Fedora Gore

Geolocation services page giving clear form, not any Conten type or something else to change