update default and plugin base maps to allow zooming up to level 21, and scale the tiles when they don't support such a resolution
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
// @id iitc-plugin-basemap-gmaps-gray@jacob1123
|
||||
// @name IITC plugin: Gray Google Roads
|
||||
// @category Map Tiles
|
||||
// @version 0.1.1.@@DATETIMEVERSION@@
|
||||
// @version 0.1.2.@@DATETIMEVERSION@@
|
||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||
// @updateURL @@UPDATEURL@@
|
||||
// @downloadURL @@DOWNLOADURL@@
|
||||
@ -37,7 +37,7 @@ window.plugin.grayGMaps.addLayer = function() {
|
||||
]
|
||||
};
|
||||
|
||||
var grayGMaps = new L.Google('ROA#DMAP',{maxZoom:20, mapOptions: grayGMapsOptions});
|
||||
var grayGMaps = new L.Google('ROA#DMAP',{maxZoom:21, mapOptions: grayGMapsOptions});
|
||||
|
||||
layerChooser.addBaseLayer(grayGMaps, "Google Gray");
|
||||
};
|
||||
|
Reference in New Issue
Block a user