fureigh/ebt-near-me — pull request #50 by jdungan (2014-10-26 13:53:01+00:00)
Title: App refactor

Hi. Jake led me to your project and I got the itch to refactor it for issue #31.

Things I did:
-Moved the js to it's own nearme.js file
-Added my own Location object
-Created a nearme object to keep stuff out of the global name space
-Added user tracking
-Requery for ebt locations when the map moves

The user marker will move if you change locations. It does not change the map view point or requery. This keeps the view from snapping back to the location if the user moves the map. Once you start adding more UI maybe it needs a 'find me' button to take you back to the user location.

Hope it helps and I look forward to helping with this project.

John Dungan
Code for Tulsa