Question

HTMLReportGenerator: direct tile access to MapQuest legacy maps has been discontinued :-(

  • 18 July 2016
  • 1 reply
  • 3 views

Userlevel 1
Badge +11

I like this new transformer in Workbench 2016.1, the 
HTMLReportGenerator, and I like the OSM Leaflet background map provided 
by MapQuest. But unfortunately: as of July 11, 2016, MapQuest has 
discontinued direct tile access to it's legacy maps. See: http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/

A quick solution would be to replace the L.tileLayer in the resulting html file with:

L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors'})

(This will give the a background map with the default - not very nice - OpenStreetMap layout...)

Maybe a better plan would be to sign up for one of the free or non-free plans offered by MapQuest.


1 reply

Badge +5

Yes I have seen that on several of my maps , looks like MapQuest has pulled the plug! There are quite a few OSM versions online with better styling in case any one isn't a fan of the default OSM one.

= L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png', { attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="http://cartodb.com/attributions">CartoDB</a>'

Reply