Closed bojiang423 closed 3 years ago
fixed by replacing hardcoding
if img == 'Start':
img = np.zeros((tile_img.shape[0]*3,tile_img.shape[1]*3,tile_img.shape[2]),dtype=tile_img.dtype)
x0 = (j+1)*tile_img.shape[0]
y0 = (k+1)*tile_img.shape[1]
img[y0:y0+tile_img.shape[0],x0:x0+tile_img.shape[1]] = tile_img
It works if source = "google_sat", but return error if source = "google_map"