To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorAutomatically generate the latitude & longitude of a map
As a City by City editor
I want the latitude and longitude for a map item to be automatically generated from the address
So that I can save time
- Background
-
- Given
- that finding the latitude and longitude for a map item is available through Google Map API
- When
- an address line and/or zip is specified for a map item within Author
- Then
- the latitude and longitude is generated from this information
- Given
- I want to find the latitude and longitude for a map item
- When
- I edit the map item in Author
- Then
- there is a button called "find location" next to the latitude and longitude fields
- Given
- there is a "find location" button when editing a map item
- When
- I click this button
- Then
- any data in the fields Address line 1, 2 and 3, and Zip and City is used to generate the latitude and longitude
- And
- the latitude and longitude are populated in their named fields
- Given
- that the latitude and longitude have been found and populated
- When
- either is incorrect
- Then
- I can manually edit either the latitude or longitude fields
- Given
- the latitude and longitude for an address cannot be found
- When
- I click the "find location" button
- Then
- an error message is shown
- Scenarios
-
- TBC
-
This scenario does not have any steps.
Last published over 9 years ago by Wez.