Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: Add geocoding utility functions (fixes #34) #36

Merged
merged 3 commits into from
Apr 9, 2018

Conversation

Giners
Copy link
Owner

@Giners Giners commented Apr 9, 2018

This PR is for adding utility functions to perform geocoding requests using the Google Maps JavaScript API. Those that are interested in it can use the geocoding utility functions named 'geocodeByPlaceID' and
'geocodeBySuggestion' to get the latitude and longitude of a suggestion.

This commit adds utility functions to perform geocoding requests using
the Google Maps JavaScript API. Those that are interested in it can use
the geocoding utility functions named 'geocodeByPlaceID' and
'geocodeBySuggestion' to get the latitude and longitude of a suggestion.
	modified:   package.json
	new file:   src/geocode.js
	modified:   src/index.js
	modified:   test/test.jsx
	new file:   test/testGeocode.js
	modified:   test/testHelper.js
This commit adds a simple demo that shows off the geocoding utility
functions for consumption after a suggestion has been selected.
	modified:   demo/Demo.jsx
	new file:   demo/DemoGeocodeLatLong.jsx
This commit updates the README with documentation that explains how to
consume the geocoding utility functions 'geocodeByPlaceID' and
'geocodeBySuggestion'.
	modified:   README.md
@Giners Giners self-assigned this Apr 9, 2018
@Giners Giners merged commit c23fa9e into master Apr 9, 2018
@Giners Giners deleted the feature/geocode-suggestion branch April 10, 2018 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants