Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Save Google Places NearbySearch results to a Collection

Following this thread,

https://getsatisfaction.com/apperyio/...

I want to create a function for the Clicked marker that says VISIT. Then whenever a user clicks on the VISIT, the number of visit for that establishment will be up by 1. Same goes for other user of the app because I have login so i have multiple users.

Then the MAP MARKER for the establishment will change based on the number of visits.

Image

So I am thinking of creating a new COLLECTION where all the VISITed establishments will be stored there with the number of visits. Then on the NearbySearch query, the Search function will also search on the collection. is this possible?

Does anyone have any idea if this is possible?

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

Save Google Places NearbySearch results to a Collection

Hello,

Sorry for late reply.
Appery.io supports jQuery Mobile, HTML5, JavaScript, CSS and PhoneGap (if exporting as hybrid or using native device features), so if this can be created by means of these technologies this defenitely can be done with our platform.
Also you can use any REST APIs.

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Save Google Places NearbySearch results to a Collection

Hi thanks for the reply, I am still thinking on how to actually do this, but can I have an unrelated question?

I have a DatePicker component, and I want to get the value using javascript..

I am doing

codevar startdate = Apperyio('start_date').val();
var enddate = Apperyio('end_date').text();

alert(startdate);
alert(enddate);/code where start_date and end_date are datepicker names.

but no value is showing up..

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Save Google Places NearbySearch results to a Collection

You can try this for start date

code
$("[name='start_date']").find('input').attr('id','startdate');
var st_date = $("#startdate").val();
alert(st_date);
/code

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Save Google Places NearbySearch results to a Collection

Thanks M&M! You are the best!

Return to “Issues”