Search found 3 matches

Go to advanced search

by Eri
Sat Jun 20, 2015 4:17 pm
Forum: Issues
Topic: Passing Server Response To App
Replies: 3
Views: 625
 
Jump to post

Passing Server Response To App

Thank you sir. But I am still not getting it.

I have a label in my app call distance,
I need to pass or (mapped) the result of a calculated var from the server code
var dis = getDistance(lat, latitude, lng, longitude);

to label distance in my app.

Please I need a guide, thanks.

by Eri
Fri Jun 19, 2015 12:41 pm
Forum: Issues
Topic: Geocoding app question
Replies: 8
Views: 1373
 
Jump to post

Geocoding app question

PLEASE I NEED TO GET THE DISTANCE TO SHOW IN MY APP. HOW CAN i SHOW IT ? if (XHRResponse.status == 200) { // Get coordinates from the response var lat = JSON.parse(XHRResponse.body).results[0].geometry.location.lat; var lng = JSON.parse(XHRResponse.body).results[0].geometry.location.lng; // If the c...
by Eri
Fri Jun 19, 2015 11:56 am
Forum: Issues
Topic: Passing Server Response To App
Replies: 3
Views: 625
 
Jump to post

Passing Server Response To App

I need to get a response from a server code var to the app object that I display to user. Please is there any tutorial on how to do this?

Go to advanced search