Code ported from Google Maps based app, app in working order