Open
Conversation
Contributor
Author
|
At first Prettier may seem to make more of a mess of the codebase than it fixes, but I think adding this prettier config will lead to consistent code styling throughout our codebase! I am rewriting the entire weather component due to the API that the previous team was using being depreciated. I also added a loading spinner into utils so that we can use that throughout our application if need be. |
Bryce-Soghigian
commented
May 28, 2020
| let reverseGeocodeKey = "j5l5gEtlUQow2kzyIZmI0BvcAf4xo7By"; | ||
| axios | ||
| .get( | ||
| `http://www.mapquestapi.com/geocoding/v1/reverse?key=${reverseGeocodeKey}&location=${latitude},${longitude}&includeRoadMetadata=true&includeNearestIntersection=true`, |
Contributor
Author
There was a problem hiding this comment.
This piece of code takes our coords we get and feeds them to a reverse geocoding api to fetch the city location
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add attribution link to Readme and code
Type of change
Please delete options that are not relevant.
Change status
How Has This Been Tested?
Please describe steps taken to ensure this feature is functional and does not break other features:
Checklist: