kaff-oregonstate / oregon-state-evacuation-app

A cross-platform mobile app for evacuation drill participants.
MIT License
0 stars 3 forks source link

Experiment with Flutter map packages/Research methods for displaying location #67

Open kaff-oregonstate opened 2 years ago

kaff-oregonstate commented 2 years ago

The project partners have repeatedly requested that we visually display the location to participants. I personally believe that this changes the nature of their research. In an actual emergency, evacuees would likely not be looking at a map on their phone, and if they were they would use their normal map app.

Nonetheless, let us research methods for displaying this information based on the stream of ParticipantLocation objects generated during the drill.

Please comment below in this issue thread your findings in regards to this possibility.

Please feel free to create example(s) based on the current DuringDrill widget/page to show how we could present this information while still showing: Instructions, Stopwatch, Distance Travelled, Elevation.

kaff-oregonstate commented 2 years ago

Another option could be to generate an "elevation change" graph over time as the participant moves. This graph could have a second line/curve which is the "inundation elevation curve" of a tsunami. This would be tsunami drill specific, but for now that is the nature of our work.

tangdingguo commented 2 years ago

Google maps SDK may support pin a location (our start position), and show current GPS position accurately. Since we have stored latitude and longitude, I think it’s easy to call google maps interfaces.

kaff-oregonstate commented 2 years ago

ok great! Could you post links to the documentation?

I think the next step would be to implement a test page in the Flutter app that "shows the current GPS position" with google maps using the LocationService stream of ParticipantLocation objects. You could do this based on the code in LocationTracker (lib/location_tracking/location_tracker.dart).

tangdingguo commented 2 years ago

https://codelabs.developers.google.com/codelabs/google-maps-in-flutter#0