jadnco / locus

🏎️ Experimental car spotting app. This was an exercise to help me learn React Native + Flow.
0 stars 0 forks source link

User should be able to move location marker #32

Open jadnco opened 8 years ago

jadnco commented 8 years ago

Inside views/LocationSelector.jsx the current location is grabbed; that is a good start, but the user should be able to manually move (drag) the marker to a more specific location.

jadnco commented 8 years ago

As of https://github.com/jadnco/locus/commit/84dc2ad9e9ae2599c7561ff98e7df87eccff38d6 the user can now, more or less, drag the marker.

The updated location gets passed through to the next view and gets saved to the database as it should.

One thing I need to figure out is how to remove the 'accuracy' bubble. If the user manually sets the location, this should always be set to 0.

locus-move-demo2