FrancisG-Massey / Capstone2016

4 stars 0 forks source link

Add Trap view displays empty map #168

Closed FrancisG-Massey closed 7 years ago

FrancisG-Massey commented 7 years ago

When the "Add Trap" view is first opened on the app, it displays an empty map (i.e. just a blue background - presumably the map at the coordinates 0.0, 0.0).

Fairly sure this is only because the "currentPosition" icon isn't being set with it's initial value (only once it received an update), so this should be an easy fix.

FrancisG-Massey commented 7 years ago

Tested this, and it seems to work fine after 236b1c84bfeed94f8be472b4fe2258e10b4cb94b

FrancisG-Massey commented 7 years ago

Not quite working - pressing the 'add trap' button fails with "we haven't yet figured out your correct location....".

The fix should be as above, but for the "currentPosition" property (which is used to determine the coords for the new trap).