Closed robo-w closed 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.
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.
If I am not mistaken, we only get the coordinates of the BO from Geobroker, not the AO.
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 ...
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.
Discussion outcome:
Fix of the implementation:
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.