Created
July 21, 2017 17:31
-
-
Save shuma/2ef2ae41188b5dacb77d46a5d9df6de7 to your computer and use it in GitHub Desktop.
This file contains 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
success(pos) { | |
reverseGeocoding(`${pos.coords.latitude},${pos.coords.longitude}`) | |
.then((result) => this.getFormattedAddress(result.results[0])) | |
.then((address) => { | |
this.props.geoLocation(address); | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment