Skip to content

Follow user location + geosearch + location service updates

Milan John Paul Digiuseppe requested to merge map-location-geosearch into master

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 use getCurrentPosition 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-elements Icon 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

RPReplay_Final1593488279 IMG_4390

Edited by Milan John Paul Digiuseppe

Merge request reports