1
0
Fork 0
mirror of https://github.com/imjasonh/staticmaps synced 2026-07-08 19:05:09 +00:00
Commit graph

35 commits

Author SHA1 Message Date
e864f2a8af Add SnapToRoads which requires API key
This uncovered a bug in maps.go where requests would not pass their API
key!
2015-03-05 13:25:12 -05:00
1236bf8772 add TODO explaining next steps 2014-10-21 16:20:32 -04:00
64ec22f709 remove Client struct, use context values for API key, Work client ID and private key, and http Client 2014-10-21 15:10:41 -04:00
9166c9bae7 Thread through context.Context, currently unused 2014-10-21 14:15:57 -04:00
e2fe08ba0b Use actual color.Colors, fix inverse_lightness, enums for Visibility 2014-10-21 13:58:39 -04:00
b4ad65e7f2 slight style tweaks, use New and NewForWork, take a RoundTripper 2014-10-21 11:34:21 -04:00
5971468ed1 add LICENSE 2014-10-14 16:39:46 -04:00
a727458503 fix bugs with static maps: WxH and enc: for polylines 2014-10-14 12:14:16 -04:00
1704d37fbe Correctly generate the signature based on a private key 2014-10-13 16:33:57 -04:00
e2af009927 Add doc comments to maps.go 2014-10-13 14:46:30 -04:00
60f572450a Add doc comments for Street View API methods 2014-10-13 14:40:37 -04:00
556c8364df Add doc comments for Static Map API methods 2014-10-13 14:35:11 -04:00
862c7af424 fix build 2014-10-13 13:41:14 -04:00
0746d8fc00 Add doc comments for Time Zone API methods 2014-10-13 13:40:18 -04:00
a3e86dd287 Add doc comments for Geocoding API methods 2014-10-13 13:34:23 -04:00
029522f23a Add doc comments for Elevation API methods 2014-10-13 12:23:27 -04:00
9deaf93c7f Add doc comments for Distance Matrix API methods 2014-10-13 12:15:04 -04:00
e9e7597dd0 Add doc comments for Directions API methods 2014-10-13 12:05:26 -04:00
8cd7c7a64b Merge branch 'master' of gist.github.com:/cbfa5a05023549bcf565 2014-10-09 16:08:31 -04:00
aa3b05a35f return responses that don't include Status and ErrorMessage, instead return an APIError if the API response is not 'OK' 2014-10-09 16:08:02 -04:00
f9c0e3df19 Add backoff http.RoundTripper that that handles exponential backoff 2014-10-09 13:24:52 -04:00
41f9b8b763 nvm https 4eva 2014-10-07 12:47:12 -04:00
b94703a076 relative protocol 2014-10-07 12:46:30 -04:00
2caece1694 Add DistanceMatrix API 2014-10-07 12:46:01 -04:00
c986c5df38 Add geocode and reverse geocode 2014-10-07 12:23:03 -04:00
3486e9bff9 Support clientId+signature requests for Work clients 2014-10-07 11:14:18 -04:00
a5da9aef9a Add godoc link 2014-10-07 11:04:57 -04:00
d2aa07c3bd Add Elevation API 2014-10-07 11:00:16 -04:00
42ad906d08 add TimeZone API 2014-10-07 10:34:13 -04:00
d4ffbe16cc remove *Location and add test 2014-10-07 10:12:42 -04:00
fbc80b3a45 support StreetView Images API 2014-10-07 10:10:14 -04:00
65e4dccc17 Fix test, add Stop struct 2014-10-07 09:52:11 -04:00
449c03fc61 Add StaticMap method to generate static map image 2014-10-06 17:18:53 -04:00
e0af619690 initial commit 2014-10-06 14:18:03 -04:00
bec142c216 2014-10-06 11:17:27 -07:00