Skip to content

Commit 5f8583e

Browse files
committed
https tiles
1 parent 80821e1 commit 5f8583e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

mapswipe_workers/mapswipe_workers/project_types/build_area/tile_functions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ def quadKey_to_Bing_URL(quadKey, api_key):
213213
the url for the specific Bing tile image
214214
"""
215215

216-
tile_url = ("http://t0.tiles.virtualearth.net/tiles/a{}.jpeg?"
217-
"g=854&mkt=en-US&token={}".format(quadKey, api_key))
216+
tile_url = ("https://ecn.t0.tiles.virtualearth.net/tiles/a{}.jpeg?g=7505&mkt=en-US&token={}".format(quadKey, api_key))
218217

219218
return tile_url
220219

mapswipe_workers/mapswipe_workers/project_types/change_detection/tile_functions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ def quadKey_to_Bing_URL(quadKey, api_key):
213213
the url for the specific Bing tile image
214214
"""
215215

216-
tile_url = ("http://t0.tiles.virtualearth.net/tiles/a{}.jpeg?"
217-
"g=854&mkt=en-US&token={}".format(quadKey, api_key))
216+
tile_url = ("https://ecn.t0.tiles.virtualearth.net/tiles/a{}.jpeg?g=7505&mkt=en-US&token={}".format(quadKey, api_key))
218217

219218
return tile_url
220219

0 commit comments

Comments
 (0)