wrk-fmd / CoCeMoCl

Coordination Center Mobile Client
MIT License
1 stars 0 forks source link

Provide button for navigation #6

Closed robo-w closed 5 years ago

robo-w commented 5 years ago

Provide a button with the navigation to the next target of the incident.

Relies on #4. Per incident the button shall depend on the state of the own unit:

Implementation Note: Only the coordinates shall be provided to the navigation link. No address data shall be sent to the maps app.

danielsteiner commented 5 years ago

Functionalit added with the latest commits to branch bugfix/#4-show-list-of-current-incidents - parsing coordinates is still flawed but will be fixed within the next few days.

fs1 commented 5 years ago

I opened the incident in the app and I am in state ZAO, but there is still a button "view BO on map", which shows the BO. Instead I expected either an additional button or a renamed button to "view AO on map" which shows me the AO on the map.

danielsteiner commented 5 years ago

If I am not mistaken, we only get the coordinates of the BO from Geobroker, not the AO.

heinrichmartin commented 5 years ago

Maybe this is not implemented in CoCeSo, but when a unit is ZAO, its lastPoint should be the BO and its targetPoint should be the AO iirc ...

danielsteiner commented 5 years ago

I just inspected the GeoClient - targetPoint is the current target - it has the coordinates of the BO when you are ZBO / BO and of the AO when you are ZAO / AO. Should be implemented soon.

robo-w commented 5 years ago

Discussion outcome:

Fix of the implementation: