Fedora Gore
Posts: 0
Joined: Mon May 12, 2014 7:14 pm

Tutorial 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?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Tutorial wrong?

Hello,

Thanks. Will check this.

Fedora Gore
Posts: 0
Joined: Mon May 12, 2014 7:14 pm

Tutorial wrong?

Please reply when fix, i found interesting that option

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Tutorial wrong?

Hello Fedora,

Sure, we will get back to you with update.

Fedora Gore
Posts: 0
Joined: Mon May 12, 2014 7:14 pm

Tutorial wrong?

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

Fedora Gore
Posts: 0
Joined: Mon May 12, 2014 7:14 pm

Tutorial wrong?

any news?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Tutorial wrong?

Fedora,

Working on it, it might take some time.

Fedora Gore
Posts: 0
Joined: Mon May 12, 2014 7:14 pm

Tutorial wrong?

ok, waiting

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Tutorial wrong?

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.

Fedora Gore
Posts: 0
Joined: Mon May 12, 2014 7:14 pm

Tutorial wrong?

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

Return to “Issues”