#5466 closed defect (fixed)
MapQuest Developer Tiles no longer available
| Reported by: | chris | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | programming | Keywords: | |
| Cc: | ben@… | Parent Tickets: |
Description
The pages on which I have geotagged images show an empty box with a notice from MapQuest saying:
"As of July 11, 2016, direct tile access has been discontinued."
An example can be seen here: http://m.chrishancockart.com/u/chris/m/westside-local-show-2014-06/
Attachments (2)
Change History (11)
comment:1 by , 9 years ago
| Status: | new → accepted |
|---|
by , 9 years ago
| Attachment: | 0001-Use-OSM-tiles-in-Geolocation-plugin-5466.patch added |
|---|
Patch to replace MapQuest tiles with OSM ones
comment:2 by , 9 years ago
Here is a patch using OSM tiles instead of MapQuest. You can also pull from this branch [0], which has just the one commit on top of v0.9.0.
[0] https://scm.narf.ssji.net/git/mediagoblin/log/?h=bug5466-replace-mapquest
comment:3 by , 9 years ago
| Cc: | added |
|---|
comment:4 by , 9 years ago
| Cc: | added; removed |
|---|
comment:5 by , 9 years ago
The file mediagoblin/plugins/geolocation/templates/mediagoblin/plugins/geolocation/map.html line 46 should also be updated regarding new attribution, MapQuest should be removed.
by , 9 years ago
| Attachment: | 0002-Update-maps-copyright-notice-to-OSM.patch added |
|---|
comment:7 by , 9 years ago
| Status: | accepted → review |
|---|

Thanks teslas_moustache, I'm able to replicate this issue by uploading the same photo to my local system running against the master branch.
Looks like the appropriate change would be
mediagoblin/static/js/geolocation-map.jsline 33:var mqtileUrl = 'http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg';This will likely need to change to a new tile provider. Worth investigating what the default Leaflet tiles are and possibly switching to those.