User story
As a user who is creating a parking report
I want to view a map with the location of the car
So that I can confirm that I am informing the correct place
Business context
In order to submit a report with enough information for authorities to eventually take action, the localization of the user is necessary. Without this information, it would be difficult to identify where the car is parked, even with car plate information. After obtaining user authorization to get their location (#181), we need to show the result to the user as a map.
Describe alternatives you've considered
It would be also possible for the user to type their address, instead of using GPS.
In scope
Out of scope
Show map with address to the user on the same screen.
Ask for user permission to use GPS (#181 ).
Offering a field for the user to type their address, in case the GPS was incorrect, not available, or the user did not authorize using GPS (#208).
Acceptance Criteria
Checklist do kickoff
Checklist do deskcheck
User story
As a user who is creating a parking report
I want to view a map with the location of the car
So that I can confirm that I am informing the correct place
Business context
In order to submit a report with enough information for authorities to eventually take action, the localization of the user is necessary. Without this information, it would be difficult to identify where the car is parked, even with car plate information. After obtaining user authorization to get their location (#181), we need to show the result to the user as a map.
Describe alternatives you've considered
It would be also possible for the user to type their address, instead of using GPS.
In scope
Out of scope
Show map with address to the user on the same screen.
Ask for user permission to use GPS (#181 ).
Offering a field for the user to type their address, in case the GPS was incorrect, not available, or the user did not authorize using GPS (#208).
Acceptance Criteria
Given the user has chosen an image to proceed with the parking report
When the user clicks to accept informing their position by GPS
Then the page shows "obtendo localização"
Then the page shows the map with the user location marked.
Given the user has seen the map with the address marked
When the address marked is wrong
Then the user can click on "atualizar localização" to try again
Checklist do kickoff
(Ex.: Contexto, Escopo, Fora de Escopo, Critérios de aceite, etc);
Checklist do deskcheck