Work on fixing map

Added map that works when it is the first thing loaded. If the listview is
loaded first the map centers, if the home screen is loaded first, the
center is pushed to the top left corner of the screen.
Fix map center problem

I was able to fix this so that the center shows up correctly, by adding a
panTo function in the controller to the go button command. This resets the
map center to the cent variable.
Fixing map centering on device

I was hindered by the lack of wifi in our work environment. This group of
changes works. I moved the scroll to function into the map view init
function, because otherwise it was not being run when moving between the
home and list screens. This occured, because the gMap value was
instaniated after the panTo function in the controller.
Fix the panTo center functionality

I was able to fix our centering problem by adding the panTo center
function in the controller's on Gobuttoncommand. To fix the problem of the
map not centering after the app was open for a period of time, I changed
the timeout from 100 to 1000.
Set google map marker for first list item

I was able to set a marker and make it the center of the screen for the
first list item.I set the marker in the controller when the go button was
hit.
Dynamicly add all of the list items as map markers

I was able to add the list items into the map as specific map markers, by
adding a couple of for loops in the controller that found the lat/long
locations of the list items and set the markers to those coordinates.
Add infobubbles to the map pins

I was able to add info bubbles with the vendor name, and I made it so that
the bubbles would display the name when clicked. Future improvements
include limiting it to one bubble open at a time.
Update map markers

I updated the map markers so that they would display an infowindow when
clicked on that shows the store name at that location. I also made it so
that only one infowindow shows at a time. There is also commented out code
in the sass formating folder that we can use to style and change the look
of the infowindows.Also removed the previous search's map markers so that
they didn't persist through different queries.
Add a button to the infowindow that has navigation

I added a button to the info window that lets the user navigate to the
detail page and view the selected vendor's items. I still need to update
the info and header sections of the detail window when navigating there
from a map marker. To do this I will need to set the toolbar in the
controller and set the detail view data to the selected vendors data.
Fix data sent to the detail page infoblock

I fixed the app so that when a button in the infowindow on the map was
pushed, the correct data for the infoblock on the detail page was updated.
Add list item selection on infowindow button click

When a button is clicked in a google maps marker infowindow, the
coresponding list item for that vendor is highlighted. We could face
problems in the future when the list is populated with products. We will
deal with that advanced functionality when we get to loading products into
the list.
Pop up infowindow corresponding to list item

When the user clicks on a list item we want the corresponding infowindow to
appear on the map. We do this so that if the viewer navigates back to the
list view from the detail page they are reminded of the last item they
viewed.
Work on variable zoom for map

I am working on fixing how the map zooms depending on the user search
input from the home page. Having problems with fitBounds() function.