Open Source Project for Grow with Google Udacity Scholarship Challenge - Navigation app using offline first strategy and google maps api - To get started please refer to the README.md - CONTRIBUTING.md and the project Wiki
Issue Description: If you click on multiple points of the map, each location will get a pin without you hitting "save" on the pins. The expected behavior is that one pin will be created, and if you don't hit "save" the pin will be removed when you click elsewhere on the map.
Summary of solution:
Added "unSavedMarker" to components local state to track unsaved markers
When a new marker is created, the old marker is removed
Can this issue be closed?
Additional code needed to clear "unSavedMarker" in the state when a marker is successfully saved, that feature is throwing an error (in Chrome Canary) so testing was not possible
Should any new issues be added as a result of this solution?
Saving a marker throws an error
Uncaught (in promise) TypeError: Failed to fetch xhr.js....
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Issue Number: 226
Issue Description: If you click on multiple points of the map, each location will get a pin without you hitting "save" on the pins. The expected behavior is that one pin will be created, and if you don't hit "save" the pin will be removed when you click elsewhere on the map.
Summary of solution:
Can this issue be closed?
Additional code needed to clear "unSavedMarker" in the state when a marker is successfully saved, that feature is throwing an error (in Chrome Canary) so testing was not possible
Should any new issues be added as a result of this solution?
Saving a marker throws an error Uncaught (in promise) TypeError: Failed to fetch xhr.js....
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Thanks for contributing!