mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 10:11:14 +00:00
rebuild Google Maps API link
This commit is contained in:
@@ -68,6 +68,6 @@ class GMapsStitcher(object):
|
|||||||
return pixels * 2 ** (21-zoom)
|
return pixels * 2 ** (21-zoom)
|
||||||
|
|
||||||
def _grab_tile(self, sleeptime):
|
def _grab_tile(self, sleeptime):
|
||||||
|
urlbase = 'https://maps.googleapis.com/maps/api/staticmap?'
|
||||||
|
urlbase += 'center=%f%f&zoom=%d&maptype=%s&size=%dx%d&format=jpg&key=%s'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user