more updates chasing reprated Niantic updates
debug function to dump out the details of each zoom level tile parameters change tile params 'noPortals' to 'hasPortals'
This commit is contained in:
@ -53,7 +53,7 @@ window.extractFromStock = function() {
|
||||
// current lengths are: 17: ZOOM_TO_LEVEL, 14: TILES_PER_EDGE
|
||||
// however, slightly longer or shorter are a possibility in the future
|
||||
|
||||
if (topObject.length >= 13 && topObject.length <= 18) {
|
||||
if (topObject.length >= 12 && topObject.length <= 18) {
|
||||
// a reasonable array length for tile parameters
|
||||
// need to find two types:
|
||||
// a. portal level limits. decreasing numbers, starting at 8
|
||||
@ -74,8 +74,8 @@ window.extractFromStock = function() {
|
||||
}
|
||||
} // end if (topObject[0] == 8)
|
||||
|
||||
// 2015-06-25 - changed to top value of 64000 - allow for them to double it just in case
|
||||
if (topObject[topObject.length-1] >= 9000 && topObject[topObject.length-1] <= 128000) {
|
||||
// 2015-06-25 - changed to top value of 64000, then to 32000 - allow for them to restore it just in case
|
||||
if (topObject[topObject.length-1] >= 9000 && topObject[topObject.length-1] <= 64000) {
|
||||
var increasing = true;
|
||||
for (var i=1; i<topObject.length; i++) {
|
||||
if (topObject[i-1] > topObject[i]) {
|
||||
|
Reference in New Issue
Block a user