aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-08-13 20:58:31 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-08-14 16:41:10 +0100
commita049a21d86ae8f4b92f3cf7c78f96ab777a9a88f (patch)
treec95802e72e28a04c3c4ab5c2d4d3ab48b7b0b90e /web
parent0ed2a7aeb0cb913a047b59b56aee5c35074ed79e (diff)
MapQuest tiles went away a long time ago.
Diffstat (limited to 'web')
-rw-r--r--web/js/map-OpenStreetMap.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/web/js/map-OpenStreetMap.js b/web/js/map-OpenStreetMap.js
index bd3497343..4dc862be6 100644
--- a/web/js/map-OpenStreetMap.js
+++ b/web/js/map-OpenStreetMap.js
@@ -52,40 +52,6 @@ OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, {
});
/**
- * Class: OpenLayers.Layer.OSM.MapQuestOpen
- *
- * Inherits from:
- * - <OpenLayers.Layer.OSM>
- */
-OpenLayers.Layer.OSM.MapQuestOpen = OpenLayers.Class(OpenLayers.Layer.OSM, {
- /**
- * Constructor: OpenLayers.Layer.OSM.MapQuestOpen
- *
- * Parameters:
- * name - {String}
- * options - {Object} Hashtable of extra options to tag onto the layer
- */
- initialize: function(name, options) {
- var url = [
- "https://otile1-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
- "https://otile2-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
- "https://otile3-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png",
- "https://otile4-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png"
- ];
- options = OpenLayers.Util.extend({
- /* Below line added to OSM's file in order to allow minimum zoom level */
- maxResolution: 156543.03390625/Math.pow(2, options.zoomOffset || 0),
- numZoomLevels: 19,
- buffer: 0
- }, options);
- var newArguments = [name, url, options];
- OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
- },
-
- CLASS_NAME: "OpenLayers.Layer.OSM.MapQuestOpen"
-});
-
-/**
* Class: OpenLayers.Layer.OSM.CycleMap
*
* Inherits from: