Follow user location + geosearch + location service updates
Changes
- don't keep user location in Redux. Map components should use
watchPosition
to update local state, and components that need one-time location status should usegetCurrentPosition
util -
ArrowButtons
component to move around map for dev use -
DiscoverMap
watches user location and calls geosearch when user has moved 100m from last call to geosearch - got rid of
MenuButton
just inline the react-native-elementsIcon
as a button -
UserLocationMarker
: lil dude that shows ur current location on the map. Replaces the defauly blue circle things from google maps -
locationUtils
file deleted - added dev button that takes u to tokyo for some reason
-
CacheSubmitScreen
now uses same map as discover screen - deprecated location redux stuff
- stole
distanceBetweenCoordinates
function from internet
Pix
Edited by Milan John Paul Digiuseppe