in the map View, added a method to call the google API Places Library
in the Map Controller in the init function added the call for view.callPlacesApi
changing eeeeeverything...added an event listener in the map controller and added a PlaceService method to call the google API
in the search form changed the name of each check_box_tag; added the values to the checkboxes
added a listener to the checkbox change, and grabing the value of the checkbox
in the map controller capturing the checkbox, the selector needs to be the whole input type => 'input[type=checkbox]'
put the distance appearance into the map view
method in the map view for capturing the selected distance and converting to an integer..not the best way, but the query selectors were returning an empty string, should take a look later
in the map controller on distance change listener binded to the this.view
wrote two methods for checking the type selection and distance selection
had to find my way around...so getting the autocomplete city + adding establishments and passing this as a query to the request of the textsearch Api; getting the location and centering the map on that location
calling the google Places Api from the the Map controller, receiving the response with objects
calling the place markers fiunction for the .textSearch results..needed to bind
placing markers, now ned to debug the centerMap function
centering method in the Map View seems ok, left the second option CenterMapOnSearch, and calling it in the onPlaceChange method of the map
took out the code for getting selecting distance from the changeDistanceValue method and put it into a separate method, calling it from the onPlaceChange method
deleted commented out listeners, and some double listeners
deleted the commented out methods in the Map View that were brought to the Controller
deleted the repeated changeDistanceValue method which also held two methods inside = changeDistanceValue + getSelectedDistance
put the clearForm method to the MapView