From 6fcbd90588c0a86db99f0dbba3e3dced53b8f536 Mon Sep 17 00:00:00 2001 From: Mike Castle Date: Sun, 24 Nov 2013 23:16:53 -0800 Subject: [PATCH] s/mazZoom/maxZoom/ --- code/boot.js | 2 +- plugins/basemap-mapquest-open-aerial.user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/boot.js b/code/boot.js index c009dcc0..6a313f83 100644 --- a/code/boot.js +++ b/code/boot.js @@ -111,7 +111,7 @@ window.setupMap = function() { var mqMapOpt = {attribution: osmAttribution+', Tiles Courtesy of MapQuest', maxZoom: 18, subdomains: mqSubdomains}; var mqMap = new L.TileLayer(mqTileUrlPrefix+'/tiles/1.0.0/map/{z}/{x}/{y}.jpg',mqMapOpt); //MapQuest satellite coverage outside of the US is rather limited - so not really worth having as we have google as an option - //var mqSatOpt = {attribution: 'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency', mazZoom: 18, subdomains: mqSubdomains}; + //var mqSatOpt = {attribution: 'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency', maxZoom: 18, subdomains: mqSubdomains}; //var mqSat = new L.TileLayer('http://{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg',mqSatOpt); var ingressGMapOptions = { diff --git a/plugins/basemap-mapquest-open-aerial.user.js b/plugins/basemap-mapquest-open-aerial.user.js index 5ac942d0..30d1fe06 100644 --- a/plugins/basemap-mapquest-open-aerial.user.js +++ b/plugins/basemap-mapquest-open-aerial.user.js @@ -27,7 +27,7 @@ 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', mazZoom: 18, subdomains: mqSubdomains}; + var mqSatOpt = {attribution: 'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency', maxZoom: 18, 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");