Created
August 3, 2011 13:28
-
-
Save honza/1122625 to your computer and use it in GitHub Desktop.
Google Directions API inconsistencies
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
| // When run multiple times, the following logs `false` 50% of the time and `true` 50% of the time | |
| var geocoder = new google.maps.Geocoder(); | |
| geocoder.geocode({'address': '211 Horseshoe Lake Drive, Halifax, Canada'}, function(results, status) { | |
| console.log(status == google.maps.GeocoderStatus.OK); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment