From 305d24eae473f6562e97b23efefb266ec3d937cd Mon Sep 17 00:00:00 2001 From: Lars Gusowski Date: Wed, 31 Oct 2018 17:12:27 +0100 Subject: [PATCH] delete mapquest-open-aerial as they doesn't support maptiles anymore --- plugins/basemap-mapquest-open-aerial.user.js | 31 ++------------------ 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/plugins/basemap-mapquest-open-aerial.user.js b/plugins/basemap-mapquest-open-aerial.user.js index b68fa53a7..8e57d8d37 100644 --- a/plugins/basemap-mapquest-open-aerial.user.js +++ b/plugins/basemap-mapquest-open-aerial.user.js @@ -1,12 +1,12 @@ // ==UserScript== // @id iitc-plugin-basemap-mapquest-open-aerial@jonatkins // @name IITC plugin: MapQuest Open Satellite view (US Only) -// @category Map Tiles -// @version 0.1.1.@@DATETIMEVERSION@@ +// @category Deleted +// @version 0.0.0 // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ -// @description [@@BUILDNAME@@-@@BUILDDATE@@] Add the MapQuest Open Aerial satellite view tiles as a map layer. High detail in the US (lower 48) only. +// @description MapQuest doesn't support this anymore: https://lists.openstreetmap.org/pipermail/tile-serving/2016-June/003928.html // @include https://*.ingress.com/intel* // @include http://*.ingress.com/intel* // @match https://*.ingress.com/intel* @@ -17,28 +17,3 @@ // @match http://*.ingress.com/mission/* // @grant none // ==/UserScript== - -@@PLUGINSTART@@ - -// PLUGIN START //////////////////////////////////////////////////////// - - -// use own namespace for plugin -window.plugin.mapTileMapQuestSat = function() {}; - -window.plugin.mapTileMapQuestSat.addLayer = function() { - - var mqSubdomains = [ 'otile1','otile2', 'otile3', 'otile4' ]; - var mqTileUrlPrefix = window.location.protocol !== 'https:' ? 'http://{s}.mqcdn.com' : 'https://{s}-s.mqcdn.com'; - //MapQuest satellite coverage outside of the US is rather limited - so not really worth having as we have google as an op! - var mqSatOpt = {attribution: 'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency', maxNativeZoom: 18, maxZoom: 21, subdomains: mqSubdomains}; - var mqSat = new L.TileLayer('http://{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg',mqSatOpt); - - layerChooser.addBaseLayer(mqSat, "MapQuest Open Satellite"); -}; - -var setup = window.plugin.mapTileMapQuestSat.addLayer; - -// PLUGIN END ////////////////////////////////////////////////////////// - -@@PLUGINEND@@