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:
Jon Atkins
2014-05-29 01:23:25 +01:00
parent 6c35c8d238
commit a05ac61cb4
9 changed files with 22 additions and 24 deletions

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-nokia-ovi-maps
// @name IITC plugin: Nokia OVI maps
// @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@@
@ -31,7 +31,7 @@ window.plugin.mapNokiaOvi.setup = function() {
};
var oviOpt = {attribution: 'Imagery © Nokia OVI', maxZoom: 20};
var oviOpt = {attribution: 'Imagery © Nokia OVI', maxNativeZoom: 20, maxZoom: 21};
$.each(oviStyles, function(style,data) {
oviOpt['style'] = style;